Skip to content

Commit

Permalink
Update outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marratj committed Feb 20, 2019
1 parent f0bf2ae commit d50dbe4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ func (o *Options) Validate() error {

ctx := context.Background()

// Override discoverable provider data with a custom http.Client that fakes
// a discovery response with our manual setting on go-oidc side
// only if -skip-oidc-discovery is enabled
// Construct a manual IDTokenVerifier from issuer URL & JWKS URI
// instead of metadata discovery if we enable -skip-oidc-discovery.
// In this case we need to make sure the required endpoints for
// the provider are configured.
if o.SkipOIDCDiscovery {
if o.LoginURL == "" {
msgs = append(msgs, "missing setting: login-url")
Expand Down

0 comments on commit d50dbe4

Please sign in to comment.