You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when using oauth with provider linkedin_oidc - Error getting user profile from external provider #1533
It redirects back to the redirectTo URL with the following query params: error=server_error&error_code=500&error_description=Error+getting+user+profile+from+external+provider#error=server_error&error_code=500&error_description=Error+getting+user+profile+from+external+provider
When checking the Auth logs in the Supabase platform I found this error: error: oidc: id token issued by a different provider, expected \"https://www.linkedin.com\" got \"https://www.linkedin.com/oauth\"","level":"error","method":"GET","msg":"500: Error getting user profile from external provider
@omerhochman@GaryAustin1 something definitely changed on linkedin's end :( even their documentation is inconsistent - the discovery document shows the issuer with the /oauth prefix but the docs has the issuer without it...
Activity
GaryAustin1 commentedon Apr 14, 2024
There are 3 other reports of this. One on Discord and:
https://github.com/orgs/supabase/discussions/22711
https://github.com/orgs/supabase/discussions/22708
J0 commentedon Apr 15, 2024
Thanks for reporting this! afaik we haven't changed anything w.r.t the provider. Checking if anything changed upstream
fix: linkedin_oidc provider error (#1534)
kangmingtay commentedon Apr 15, 2024
@omerhochman @GaryAustin1 something definitely changed on linkedin's end :( even their documentation is inconsistent - the discovery document shows the
issuerwith the/oauthprefix but the docs has the issuer without it...fix: update linkedin issuer url (#1536)
fix: support both postgres and http hooks
omerhochman commentedon Apr 17, 2024
Looks like the issue is fixed, signInWithOAuth with linkedin_oidc works again!
jagatfx commentedon Apr 17, 2024
I am still seeing the
oidc: id token issued by a different provider. Is this potentially not fully rolled out?ahmedivy commentedon Apr 19, 2024
@omerhochman Do I need to update the version? because I am still getting this error.
omerhochman commentedon Apr 19, 2024
Hey @jagatfx and @ahmedivy, I don't know why it fails for you, I did not change anything. They probably fixed an endpoint up here.
I am actually using an old version of
@nuxtjs/supabaseas a module in mynuxt.config.jsThis is from my
package.jsonAnd this is the usage:
Works for me.
ahmedivy commentedon Apr 19, 2024
@omerhochman I am using with Nextjs
charlieram96 commentedon Apr 20, 2024
@ahmedivy Were you able to get this issue fixed on your end? I am having the same issue.
jagatfx commentedon Apr 20, 2024
Thanks. I had to write into support and have them change a piece of my infrastructure setup. My GoTrue version was stuck at 2.148.0 but the fix is in 2.149.0. The settings are at https://supabase.com/dashboard/project/_/settings/infrastructure.
fix: linkedin_oidc provider error (supabase#1534)
fix: update linkedin issuer url (supabase#1536)
fix: linkedin_oidc provider error (supabase#1534)
fix: update linkedin issuer url (supabase#1536)
fix: linkedin_oidc provider error (supabase#1534)
fix: update linkedin issuer url (supabase#1536)
fix: linkedin_oidc provider error (#1534)
fix: update linkedin issuer url (#1536)
fix: linkedin_oidc provider error (supabase#1534)
fix: update linkedin issuer url (supabase#1536)
fix: linkedin_oidc provider error (#1534)
fix: update linkedin issuer url (#1536)