auth
auth copied to clipboard
Calling updateUser on a oAuth only account doesn't enable email provider
Bug report
- [x] I confirm this is a bug with Supabase, not with my own application.
- [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
https://supabase.com/docs/guides/auth/auth-identity-linking#how-to-add-emailpassword-login-to-an-oauth-account
Here it states that if you call updateUser with a password on an oauth only account, the email provider will be enabled for the specific user. This does not work for me in local environment on latest supabase version.
To Reproduce
- Make an account with oAuth only
- Call updateUser with a password
- No email provider will be enabled
Expected behavior
That the email provider will be enabled for the user, so they can login with email and password too
System information
- OS: [e.g. macOS, Windows]: Mac
- Version of supabase-js: [e.g. 6.0.2]: 2.50.0