Signing in with a generic OAuth2/OIDC provider #6547
|
Hi, I'm really struggling to implement a login flow that uses a generic OAuth2/OIDC external provider rather than having to use a specific one like Google. I feel like I must be missing something really obvious since all the supported providers are all just minor variations on the standard OAuth2/OIDC flows, so surely there's a way to integrate with them without having to open a Supabase PR for a new provider?? Can the code in this PR be used with arbitrary OIDC providers like Okta, or am I still bound to the pre-existing list of external OIDC providers (google, apple etc)? Thanks! |
Replies: 6 comments 21 replies
|
If you read in this issue i also struggle at this point. I get various errors if i use react-native-google-signin/google-signin or invertase/react-native-apple-authentication. My last try was to get apple authentication working. But i struggle with this error: {"message": "oidc: invalid configuration, clientID must be provided or SkipClientIDCheck must be set", "status": 400}. I get a valid token and the nonce, but it doesn't matter how you configure the external oauth provider in supabase (for example https://supabase.com/docs/guides/auth/auth-apple). I hope they will make a statement soon, because we want to integrate apple and google sign in for almost a half year. |
|
Is there a solution by now? I need to implement OIDC auth for a provider that is not listed. How can I do this? |
|
I was able to integrate Supabase with a custom authentication provider by using Keycloak as the provider (as it’s one of the few providers where you can configure custom URL for it). When I sign in with this code: client.auth.signInWithOAuth({
provider: 'keycloak',
options: { scopes: 'openid' }
})Supabase Auth performs a standard OAuth 2.0 authorization code flow through the OpenID Connect protocol, but rather then consulting the
Note that if |
|
I really need this feature.... What can we do? |
|
Are there any news to this? If this is on the roadmap in 2026? it is very critical for us. |
|
Hey everyone, Cemal here from the Supabase Auth team. UPDATE: Custom OAuth2/OIDC providers are available in Supabase Auth. Docs here: https://supabase.com/docs/guides/auth/custom-oauth-providers We’re working on support for generic OIDC/OAuth2 providers, and the auth server work is already done: We’re now working on making this available in the platform (i.e. the Supabase Dashboard) so you can start using it easily. |
Hey everyone, Cemal here from the Supabase Auth team.
UPDATE: Custom OAuth2/OIDC providers are available in Supabase Auth. Docs here: https://supabase.com/docs/guides/auth/custom-oauth-providers
We’re working on support for generic OIDC/OAuth2 providers, and the auth server work is already done:
supabase/auth#2357
We’re now working on making this available in the platform (i.e. the Supabase Dashboard) so you can start using it easily.