keysHandler exposes a set of of a public keys in JWK format that enable clients to validate a JSON Web Token (JWT) issued by this OpenID Connect Provider.
(w http.ResponseWriter, r *http.Request)
| 377 | // keysHandler exposes a set of of a public keys in JWK format that enable clients |
| 378 | // to validate a JSON Web Token (JWT) issued by this OpenID Connect Provider. |
| 379 | func (s *mockAuthServer) keysHandler(w http.ResponseWriter, r *http.Request) { |
| 380 | renderJSON(w, r, http.StatusOK, jose.JSONWebKeySet{Keys: s.keys}) |
| 381 | } |
| 382 | |
| 383 | // Verifies OpenID Connect callback URL in redirect link is returned in the Location |
| 384 | // header for both oidc and _oidc_challenge requests. |
nothing calls this directly
no test coverage detected