I’m using a Spring Boot application to authenticate with Auth0, using org.springframework.security and the Auth0 oauth2.client.provider
The authentication flow returns an OidcUser object where we can easily obtain the Auth0 Id Token from the OidcUser.getIdToken().getTokenValue(). However the flow does not return the Auth0 Access Token. The OidcUser object has a getAccessTokenHash() method, but this is null.
Has anyone successful obtained both the Id and Access token through an OpenId connect 1.0 provider such as the Auth0 oauth2.client.provider.
I can easily get both tokens if I use the com.auth0.mvc-auth-commons library, but unfortunately the project I am maintaining is using different frameworks/libraries