Getting JWE from Auth0 instead of JWT #16887
Unanswered
mujeebulhasan
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve configured OpenID Connect (OIDC) for SSO in Budibase (screenshot attached).
In my Budibase app, I have REST APIs set up to use the Auth0-issued token via {{ Current User.OAuthToken }}. However, when I inspect this token in my backend API, I noticed that it’s not a standard JWT, but an encrypted JWT (JWE).
After some investigation, I came across this Auth0 article, which explains that Auth0 issues a JWE instead of a JWT if the audience parameter is not specified when requesting the token.
My question is: How can I configure Budibase so that it requests a JWT (with audience) from Auth0 instead of receiving a JWE?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions