Skip to content

Commit

Permalink
Revert "fix: linkedin_oidc provider error (#1534)"
Browse files Browse the repository at this point in the history
This reverts commit 4f5e8e5.
  • Loading branch information
J0 authored Apr 15, 2024
1 parent 4f5e8e5 commit 53faca5
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 53faca5

Please sign in to comment.