Allow Invite for specific provider #11867
Unanswered
NiroHaim
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As an admin, I would like to be able to invite users not only for the default provider: "Email", but rather to be able to control to which provider the user is expected to use.
Problem caused without feature:
How my app auth works
tenant_id.tenant_usertable and connected to a tenant.Inviting a user
To add users I invite them using the Supabase studio. This creates a user id which I can then take and add to the
tenant_usertable.Where this breaks
The default provider during an invite is: "Email".
When I want to allow a user to join an organization with Google SSO logon, I can't invite him and add him to the
tenant_usertable because his provider is Email and he tries to sign in using Google SSO.Instead, I need him to try and sign in with Google SSO, this creates a user with provider: "Google" and only then, can I take the new user id and add it to the table.
All reactions