Skip to main content

signUp()

Use nhost.auth.signUp to sign up a user using email and password. If you want to sign up a user using passwordless email (Magic Link), SMS, or an OAuth provider, use the signIn function instead.

nhost.auth.signUp({
email: 'joe@example.com',
password: 'secret-password'
})

Parameters


__namedParameters required SignUpEmailPasswordParams

PropertyTypeRequiredNotes
__namedParameters.passwordstring✔️
__namedParameters.emailstring✔️
__namedParameters.optionsSignUpOptions