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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow signin without Email Verification #5113
Comments
It seems this doesn't work for the user-created from the server. |
if u sign up a new user using the supabase.auth.signup() function u can pass confirmation_sent_at with a date so the new created user can signin, otherwise try to create a trigger whenever a new user is added to supabase the trigger after that update the new user row and set confirmation_sent_at to the current date which is now() |
Would we pass
|
A follow-up with more detail, though this is a patchy workaround and I'd rather not have to be using it. Following this video, the function I created
Which I then set up a trigger |
checking with the auth team now - I would have thought that the |
hey @dipeshhkc, can you please email us at support with your project ref? Disabling "Enable email confirmations" shouldn't require you to still verify your email on sign-in so it might be a bug specific to your project. |
@sadiki-o can you elaborate more on how you were able to do this? AFAIK, the |
I've also experienced this when creating a user from the server using const createNewUser = await supabase.auth.api.createUser({
email: 'me@mydomain.com',
password: '123456',
email_confirm: true,
}) |
Is this fixed? I can't call |
Hey @mike-luabase , Thanks for the query! You should be able to call |
Closing for ow but let us know if there are still issues |
Same issue since the dashboard update. There is also a visual bug, the switch "Confirm mail" in section Auth provider is not set to the updated value after a save, but after a page reload everything seems fine. But since on both case the email validation check is activated, it's kinda pointless :/ |
Same issue triggered RN. I'll link to my repo soon. |
The solution posted above of adding |
@J0 is there any way currently to allow users to sign in without email verification completed? If not maybe this one should be reopenend. Update: Also for anyone that is looking to turn off the email confirmation for signUp the Confirm email switch is working only for newly created users but not for the ones created before the switch was turned off. By turning off Confirm email, no email confirmation link will be sent at signUp. If you still want to verify the user email after signUp, you'll probably need to use I create a new bug for the visual issue: #9897 |
Hey @RobertB4, Thanks for your query! The supabase.auth.admin.createUser({
...
}) Here are the docs for reference Let me know if you still face issues! |
Hey @agalbenus, There is no change to existing behaviour - users should still be able to sign in without email verification completed if the Let me know if there are still issues |
thanks @JamesDHW, we'll make sure to update the corresponding link in the docs! |
Hi, we currently have some users that are "email verification pending" but that can't signin even if we toggle the email verification off. When signing in, there is a email verification pending error. I see this behavior is tied to the "confirmed_at" field of auth.users. Unfortunately this field cannot be modified. When I try i get an error saying it can only be set to DEFAULT. Edit: |
It wasn't working well when I was testing |
@amm834 It works with me |
Hi, I'm trying to self host supabase, but when I try to add new user using .signUp(), i get 500 error: |
@filippo-brigati you'll need to set |
I solved using
|
It worked for me! thanks a lot @JamesDHW |
@MSohailMemon i don't think i understand the bug fully here.... the "Confirm Email" setting doesn't prevent a user from signing up or being created by the admin method
can you please provide the steps to reproduce this?
That means that the user you created was confirmed already |
@kangmingtay Thanks for replying on this issue. However, I realised the issue was at my end. One of my webhook was updating the user on supabase in which |
Hello Team. I have been using supabase for a week now and it is wonderful. Thank you for your hard work 馃檱
I have a question. Please provide me with your suggestions on this.
I need to allow users to sign in even without email verification. I found
Enable email confirmation
setting and disable that option. But still I getEmail Not Confirmed
message during signin.Is this intended? Or am I missing something?
The text was updated successfully, but these errors were encountered: