-
Notifications
You must be signed in to change notification settings - Fork 485
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
I'm using magic links but I don't want new users to sign up. I tried this method but it still creates new accounts:
const { error } = await supabaseClient.auth.signInWithOtp({
email,
options: {
shouldCreateUser: false,
},
});
Expected behavior
I would love to keep the magic link functionality for existing users but I don't want new users to sign up as we are still in beta. By adding the shouldCreateUser: false
I would expect that the user would not be created.
System information
- OS: Mac
- Browser (if applies) : Chrome
- Version of supabase-js: Version 2.0.0
- Version of Node.js: Version 16.14.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working