Skip to content

Commit

Permalink
fix: revert patch for linkedin_oidc provider error (supabase#1535)
Browse files Browse the repository at this point in the history
Reverts supabase#1534

Doesn't seem to work as expected. Directly testing against the API by
calling `https://localhost:9999/?provider=linkedin_oidc will return a
404 error.
  • Loading branch information
J0 authored Apr 15, 2024
1 parent 9e1c294 commit 62eda78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/provider/linkedin_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewLinkedinOIDCProvider(ext conf.OAuthProviderConfiguration, scopes string)
// Linkedin uses a different issuer from it's oidc discovery url
// https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2#validating-id-tokens
ctx := oidc.InsecureIssuerURLContext(context.Background(), IssuerLinkedin)
oidcProvider, err := oidc.NewProvider(ctx, IssuerLinkedin)
oidcProvider, err := oidc.NewProvider(ctx, IssuerLinkedin+"/oauth")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 62eda78

Please sign in to comment.