Hi team,
Thank you for reaching out to us!
To solve the issue of the access token being returned as a JWE instead of an expected JWT, I would recommend looking through the following documentations : Get Access Tokens and Opaque Versus JWT Access Token . You will need to include the audience parameter in the token request, which should return the access token in JWT format.
You can view this following topic that goes over this as well for more information : JWE received instead of standard JWS
Hope this helped!
Gerald