-
Notifications
You must be signed in to change notification settings - Fork 398
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
Refactor user schema to store provider data better #208
Conversation
aaa2162
to
7fb2158
Compare
f68cae7
to
87f6749
Compare
87f6749
to
d16b889
Compare
I just want to fix this sentence.
|
Just for clarification. what will happen for those auth that have been registered before this fix? Does those auth account already have the provider id and provider name in them? |
Hey @sandbox-apps, yeah that's one of the main blockers we're facing currently - some of the auth providers implemented in the past did not keep track of the provider id. We're trying to come up with a solution to reduce any breaking changes. Any ideas will be greatly appreciated :) |
27ae389
to
8007317
Compare
8007317
to
86def11
Compare
379e9d8
to
00b0c0a
Compare
Resolved here. The idea is to check a new sign-in according to the following order: |
🎉 This PR is included in version 2.1.11 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
just linking this here, I think it will be fixed by this change? |
|
We ran into failing test on Gotrue-Dart with the latest Gotrue docker image where the |
Hey @dshukertjr, yes this will be a breaking change and we'll make sure to document it down. It's not going to go live on Supabase just yet as we're still testing it out in our staging environment but we're definitely looking to deploy it to prod sometime in October. |
Sounds good! Thanks @kangmingtay for for the explanation! |
Will an API be exposed to allow modification of the list of providers associated with a given account? Potentially, this could be useful to allow addition of multiple login options for an account, which have a different email address than the original user account. |
Refactor user schema to store provider data better
What kind of change does this PR introduce?
raw_app_meta_data.provider
field will be marked as deprecatedidentities
in access token payload in the following format: