# How to identify the site (cloudId) from an OAuth 2.0 (3LO) access token?

**URL:** <https://community.developer.atlassian.com/t/how-to-identify-the-site-cloudid-from-an-oauth-2-0-3lo-access-token/92068>\
**Category:** Jira Development\
**Tags:** jira-cloud, rest-api\
**Created:** [May 15, 2025, 7:16pm UTC](https://community.developer.atlassian.com/t/how-to-identify-the-site-cloudid-from-an-oauth-2-0-3lo-access-token/92068 "2025-05-15T19:16:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimBeer](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@TimBeer](https://community.developer.atlassian.com/u/TimBeer)\
**Post date:** [May 15, 2025, 7:16pm UTC](https://community.developer.atlassian.com/t/how-to-identify-the-site-cloudid-from-an-oauth-2-0-3lo-access-token/92068/1 "2025-05-15T19:16:25Z")

</div>

Hi everyone,

I’m using OAuth 2.0 (3LO) to authenticate users in my app. After completing the auth flow, I receive an access token — and I can then call the `/oauth/token/accessible-resources` endpoint to get the `cloudId` of the site the user has access to.

My question is:  
Is there any way to extract the `cloudId` (or any site-identifying info) directly from the access token itself? Or is calling `/oauth/token/accessible-resources` always required to determine which site(s) the token is valid for?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [May 15, 2025, 9:10pm UTC](https://community.developer.atlassian.com/t/how-to-identify-the-site-cloudid-from-an-oauth-2-0-3lo-access-token/92068/2 "2025-05-15T21:10:48Z")

</div>

> [@TimBeer](#):
>
> Is there any way to extract the `cloudId` (or any site-identifying info) directly from the access token itself?

Nope.

> [@](#):
>
> Or is calling `/oauth/token/accessible-resources` always required to determine which site(s) the token is valid for?

Yep.
