
ThirumalaiG.39759 (Customer) asked a question.
When I authenticate in okta by using a username and a password I should be able to get an access token but always it gives a session token and it has not given the access token at any time. If I try to use the session token to access the SSO of AWS IAM details I was not able to get it says invalid jwt about the session token which I have given. How do I get the access token to my okta account?

Hi @ThirumalaiG.39759 (Customer) , Thank you for reaching out to the Okta Community!
My advice would be to reach out to the dedicated Developer Forum devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features.
In the meantime, here are some post related to the topic of access tokens, perhaps they can offer some insight.
https://devforum.okta.com/t/using-sessiontoken-how-can-get-access-token-and-id-token/1288
https://devforum.okta.com/t/how-can-i-exchange-a-sessiontoken-for-an-accesstoken-in-the-backend-for-an-application-client-with-pkce/9979
https://devforum.okta.com/t/how-can-i-exchange-a-session-token-for-an-access-token-in-the-backend/5162
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.
Thank You sir!