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

**URL:** <https://devforum.okta.com/t/how-do-i-get-the-access-token-from-session-token-java/24499>\
**Category:** OAuth/OIDC\
**Tags:** java\
**Created:** [June 7, 2023, 8:55pm UTC](https://devforum.okta.com/t/how-do-i-get-the-access-token-from-session-token-java/24499 "2023-06-07T20:55:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andrew1](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@andrew1](https://devforum.okta.com/u/andrew1)\
**Post date:** [June 9, 2023, 7:50am UTC](https://devforum.okta.com/t/how-do-i-get-the-access-token-from-session-token-java/24499/2 "2023-06-09T07:50:09Z")

</div>

Hi Jason,

Did you have a chance to have a look at this thread: [Using sessionToken how can get access\_token and id\_token](https://devforum.okta.com/t/using-sessiontoken-how-can-get-access-token-and-id-token/1288)

---

_[View the full topic](https://devforum.okta.com/t/how-do-i-get-the-access-token-from-session-token-java/24499)._
