I am using the com.okta.authn.sdk.client to authenticate a user. This gives me a sessionToken in the response.
From this sessionToken I would like to retrieve an id_token (jwt) from the authorization server.
Is it possible to retrieve the id_token via an api call or utlilizing any sdk from the backend?
The only way I found that I can get the id_token is to enter the following URL into a browser which contains the sessionToken as a parameter:
Any thoughts how this could work from the backend without any redirects going on?