Bug report
When using Supabase authentication, currently only browser login is provided, which is inconvenient in terms of usability.
I am trying to register using a custom token.
I am currently using Kakao login and attempted to log in using supabase.auth.signInWithIdToken() with a token obtained directly through app login.
I encountered the following error:
"error: AuthApiError: Custom OIDC provider "" not allowed"
For other providers like Google and Facebook, the error appears as follows:
"error: AuthApiError: Provider (issuer "https://www.facebook.com") is not enabled"
It seems that custom tokens are not supported, as seen here:
https://github.com/supabase/gotrue/blob/93e5f82ced83c08799ce99020be9dea82fc56d24/internal/api/token_oidc.go#L76
Considering the setting of for _, allowedIssuer := range config.External.AllowedIdTokenIssuers, I wonder if this might be a bug.
Is the inability to use supabase.auth.signInWithIdToken() with certain providers a bug or a planned feature?
How can I log in using signInWithIdToken?
Bug report
When using Supabase authentication, currently only browser login is provided, which is inconvenient in terms of usability.
I am trying to register using a custom token.
I am currently using Kakao login and attempted to log in using supabase.auth.signInWithIdToken() with a token obtained directly through app login.
I encountered the following error:
"error: AuthApiError: Custom OIDC provider "" not allowed"
For other providers like Google and Facebook, the error appears as follows:
"error: AuthApiError: Provider (issuer "https://www.facebook.com") is not enabled"
It seems that custom tokens are not supported, as seen here:
https://github.com/supabase/gotrue/blob/93e5f82ced83c08799ce99020be9dea82fc56d24/internal/api/token_oidc.go#L76
Considering the setting of for _, allowedIssuer := range config.External.AllowedIdTokenIssuers, I wonder if this might be a bug.
Is the inability to use supabase.auth.signInWithIdToken() with certain providers a bug or a planned feature?
How can I log in using signInWithIdToken?