How do I get the access token from session token (java)

I’m not using Spring boot, just raw java and the following libraries:


I managed to get MFA validation to success and receive a session token.
I think I want to access “t/oauth2/default/v1/token” with grant, sessionToken and client Id to get the access Token. How do I do that with the APIs?
I have an AuthenticationResponse that is successful and an AuthenticationClient. What do I need now? I know I’m close but I can’t figure out the last step.

Hi Jason,

Did you have a chance to have a look at this thread: Using sessionToken how can get access_token and id_token