# Get new Access Token for a different organization

**URL:** <https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426>\
**Category:** JWT.io\
**Tags:** organizations, jwt, auth0, login\
**Created:** [August 23, 2021, 9:20pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426 "2021-08-23T21:20:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![danillo.mendonca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danillo.mendonca/32/26565_2.png) [@danillo.mendonca](https://community.auth0.com/u/danillo.mendonca)\
**Post date:** [August 23, 2021, 9:20pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/1 "2021-08-23T21:20:13Z")

</div>

Lets say i have user within 2 differents organization.

He then log in using one of his organizations and i have a way in my front end that he can switch to another organization with one click.

Is there way that i can get the new access token for a different organization using the first access token, without asking for his password again?

---

<div class="post-metadata">

**Author:** ![adam.housman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.housman/32/19907_2.png) [@adam.housman](https://community.auth0.com/u/adam.housman)\
**Post date:** [August 24, 2021, 12:46pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/2 "2021-08-24T12:46:47Z")

</div>

Hi @danillo.mendonca,

You can use [silent authentication](https://auth0.com/docs/authorization/configure-silent-authentication) and pass the second organization’s Organization ID to the authorize endpoint. Example:

```auto
GET https://YOUR_DOMAIN/authorize
    ?response_type=id_token token&
    organization=<<ORG_ID>>&
    client_id=...&
    redirect_uri=...&
    state=...&
    scope=openid...&
    nonce=...&
    audience=...&
    response_mode=...&
    prompt=none

```

This is assuming the user has membership in the second organization and the connection that the user is in is enabled for the second organization.

Adam

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 24, 2021, 12:57pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/3 "2021-08-24T12:57:06Z")

</div>

Thanks for helping on this one Adam!

---

<div class="post-metadata">

**Author:** ![danillo.mendonca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danillo.mendonca/32/26565_2.png) [@danillo.mendonca](https://community.auth0.com/u/danillo.mendonca)\
**Post date:** [August 24, 2021, 4:12pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/4 "2021-08-24T16:12:36Z")

</div>

That’s great, i wil l try that out, thank you Adam

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 25, 2021, 12:35pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/5 "2021-08-25T12:35:45Z")

</div>

Let us know if you have any other questions down the road!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 9, 2021, 12:36pm UTC](https://community.auth0.com/t/get-new-access-token-for-a-different-organization/68426/6 "2021-09-09T12:36:02Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
