BadRequestError: failed to decode JWT (TypeError: encrypted JWTs cannot be decoded)

I am using express-openid-connect library, and I am receiving BadRequestError: failed to decode JWT (TypeError: encrypted JWTs cannot be decoded) when redirected back after a successful auth. The token is a JWE, and I’m not sure how to handle this. Does anyone have any experience with this?

Hi @Chogster,

Welcome to the Auth0 Community!

It sounds like you have an opaque token. See this FAQ:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.