Can you access the Auth0 private key used to generate your own access tokens
Last Updated:
Overview
Error: secretOrPrivateKey must be an asymmetric key when using RS256
They tried finding their private key in the Dashboard as well but could not find it.
Cause
Solution
If you would like to generate a custom access_token, this would be a 3rd party token and you would need to generate a private key for that yourself. Here is an example:
https://stackoverflow.com/questions/38794670/how-to-sign-a-jwt-using-rs256-with-rsa-private-key