Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "disableSignUp" option for magic links #311

Closed
kiwicopple opened this issue Dec 28, 2021 · 3 comments · Fixed by #318
Closed

Add "disableSignUp" option for magic links #311

kiwicopple opened this issue Dec 28, 2021 · 3 comments · Fixed by #318
Labels
enhancement New feature or request released

Comments

@kiwicopple
Copy link
Member

Feature request

Is your feature request related to a problem? Please describe.

A hotly debated topic :)

supabase/supabase#1176 (comment)

Describe the solution you'd like

Add a disableSignUp option to the magic link endpoint. If this is true then the endpoint should not create a new user.

@aantn
Copy link

aantn commented Dec 28, 2021

Yes please!

@kiwicopple
Copy link
Member Author

Or perhaps a clearer flag will be createUser?

eg: supabase.auth.signIn({ email: 'me@example.com', createUser: false })

@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 2.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants