Fix tests.
This commit is contained in:
parent
6c4abfabbb
commit
a16b2125bc
2 changed files with 10 additions and 10 deletions
|
@ -709,7 +709,7 @@ func generateJWKServer(n int) *httptest.Server {
|
|||
http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
|
||||
case "/hits":
|
||||
writeJSON(w, hits)
|
||||
case "/openid-configuration", "/.well-known/openid-configuration":
|
||||
case "/.well-known/openid-configuration":
|
||||
writeJSON(w, openIDConfiguration{Issuer: "the-issuer", JWKSetURI: srv.URL + "/jwks_uri"})
|
||||
case "/random":
|
||||
keySet := must(generateJSONWebKeySet(n))[0].(jose.JSONWebKeySet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue