tommyli commented on issue #5059:
URL: https://github.com/apache/couchdb/issues/5059#issuecomment-2118108427
OK, thanks for confirming that the key config is wrong, I worked out what
happened.
I'm using Keycloak and I used the certificate instead of the public key from
the realm settings. The cryptic error is probably trying to parse a public key
but was given a certificate, i.e. the error
`{"error":"bad_request","reason":"not an RSA public key"}` is a lot more
meaningful as soon as I used `-----BEGIN CERTIFICATE-----` instead of
`-----BEGIN PUBLIC KEY-----`.
It's working now, thanks for your help.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]