Skip to content

Commit b9f99fd

Browse files
committed
[oidc] Fix the HEAD method call that checks reachability
1 parent 7a27ea0 commit b9f99fd

File tree

1 file changed

+1
-1
lines changed
  • components/public-api-server/pkg/apiv1

1 file changed

+1
-1
lines changed

components/public-api-server/pkg/apiv1/oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ func assertIssuerIsReachable(ctx context.Context, issuer *url.URL) error {
493493
},
494494
}
495495

496-
req, err := http.NewRequestWithContext(ctx, http.MethodHead, issuer.String(), nil)
496+
req, err := http.NewRequestWithContext(ctx, http.MethodHead, issuer.String()+"/.well-known/openid-configuration", nil)
497497
if err != nil {
498498
return err
499499
}

0 commit comments

Comments
 (0)