nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
385 stars 114 forks source link

Magic Link Login without automatic user creation #523

Open kelkes opened 5 months ago

kelkes commented 5 months 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 5 months ago

Hi,

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

Regards