Skip to content

Commit

Permalink
fix bug of SetVerifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Jing-ze committed Aug 22, 2024
1 parent fb4884d commit f3b0105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ func (p *OAuthProxy) SetContext(ctx wrapper.HttpContext) {
}

func (p *OAuthProxy) SetVerifier(opts *options.Options) {
if p.provider.Data().Verifier == nil && oidcHandler.provider.Data().NeedsVerifier {
if p.provider.Data().Verifier == nil && p.provider.Data().NeedsVerifier {
providers.NewVerifierFromConfig(opts.Providers[0], p.provider.Data(), p.client)
}
}
Expand Down

0 comments on commit f3b0105

Please sign in to comment.