Skip to content

Commit

Permalink
fix: use the correct redirect_uri for linkedin social login
Browse files Browse the repository at this point in the history
  • Loading branch information
kmherrmann committed May 8, 2023
1 parent 2f844ec commit ac7fb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/strategy/oidc/provider_linkedin.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (l *ProviderLinkedIn) oauth2(ctx context.Context) *oauth2.Config {
ClientSecret: l.config.ClientSecret,
Endpoint: linkedin.Endpoint,
Scopes: l.config.Scope,
RedirectURL: l.config.Redir(l.reg.Config().SelfPublicURL(ctx)),
RedirectURL: l.config.Redir(l.reg.Config().OIDCRedirectURIBase(ctx)),
}
}

Expand Down

0 comments on commit ac7fb04

Please sign in to comment.