Problem
After configuring Auth0 with custom certificates via API, you get Access Denied error when attempting to login.
{ "error": "access_denied", "error_description": "Invalid RSAES-OAEP padding." }
Solution
Add an additional decryptionKey to the connection's options with the following format.
options: { //... other options "decryptionKey" : { "key": "-----BEGIN PRIVATE KEY-----\n...", "cert": "-----BEGIN CERTIFICATE-----\n..." }}
No comments:
Post a Comment