Hello,
I have been struggling for 2 weeks to use Auth0 successfully. I have created an application using React and Node(+Express). This side communicates with my APIs (Spring Boot Applications). I am using passport.js to save the token so as to use it to my requests and i have created an Auth0 Strategy for this ( as suggested here: GitHub - auth0/passport-auth0: Auth0 authentication strategy for Passport.js ) After a successful login i manage to get 2 tokens one id_token in JWT format one access token not in JWT format. Although the id token can be verified in JWT.io Debugger with my public key (using RSA256) it cannot be verified with any of the JWT.io libraries at the java side. (Also i grabbed a test token from the /token endpoint and used this in my requests and i can confirm that it was properly verified at the java side , so i know that the JWT.io library works properly. )
So, i am not sure what is the problem here . Should i use this token for Bearer requests to my APIs? Or does the Strategy need to change?
I have given to my Application a unique identifier but i cannot generate access token in JWT format. I am using the default AUth0 login form and i can see in the network tab that the /authorize endpoint is being called which is supposed to give you the access token .
Does anyone know how i can get an access token in JWT format so i can pass it to my Spring Applications?
Any recommendation , tip , advice much appreciated.
Thank you