Error! options.app_secret must be in PEM format

I followed this link for getting the client secret but when I pasted the client secret in Auth0 it throws an error: Error! options.app_secret must be in PEM format

I found this issue was already raised but it was closed and the solution does not work.

We found the solution, we copied the whole content from the PEM file.

Refer the sample PEM format below:

-----BEGIN PRIVATE KEY-----
MIJSasdasdfasdMBdssByqGSM49AgEGCsdsfs49AwEHBG0wawIBAQQg8xq9Fu9LNeQ9m1vE
cZH1sopAHJllasdfasdfasdfkajsfhlkasjdfhlkjashdfljkhasdljkfhdsfakjshfljhkjhlkkjhjfjfjfjfjfjfjo/uPQFtigbOAS4eFNRLOgqFM7XjBMHn/+q+h
-----END PRIVATE KEY-----

Hope this helps.

1 Like