You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having problems connecting to our OpenID Connect service. The server rejects the request with an 406 HTTP error:
...
by: java.io.IOException: Server returned HTTP response code: 406 for URL: https://login.helmholtz-data-federation.de/oauth2/jwk
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
....
Your server is very specific about the content type of the key set document it returns. It returns application/jwk-set+json and it does not like the authenticator sending it Accept: application/json.
Good catch, actually! I'll add application/jwk-set+json to the authenticator's Accept header and make a release.
I there,
I am having problems connecting to our OpenID Connect service. The server rejects the request with an 406 HTTP error:
I tried curling the server, and it works fine:
The
context.xml
is like this:Any suggestions on why this fails?
The text was updated successfully, but these errors were encountered: