nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
372 stars 110 forks source link

Magic Link Login without automatic user creation #523

Open kelkes opened 1 month ago

kelkes commented 1 month ago

Allow people to sign up via a form using the sign-up functions from nHost BUT don't auto sign up people when they use magic link login.

Context: I have an app where people can register with all their data and use magic-link as one of the sign-up methods. Unfortunately, people use the magic-link login without registering upfront, leading to "empty" users (no profile data nothing). And an empty app (because they have no data created).

I don't want to disable sign up and create users in my backend. An Option for magic-link login that fails when the user is given instead of creating a new user would be best.

Thanks, David

Reference: https://github.com/nhost/hasura-auth/issues/201#issuecomment-2141378683

dbarrosop commented 1 month ago

Hi,

that makes sense. However, this feature should probably be more generic, i.e.:

Regards