# Method on Android SDK to get a different access token given user is already in a valid Auth0 session

**URL:** <https://community.auth0.com/t/method-on-android-sdk-to-get-a-different-access-token-given-user-is-already-in-a-valid-auth0-session/102244>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [March 10, 2023, 8:40am UTC](https://community.auth0.com/t/method-on-android-sdk-to-get-a-different-access-token-given-user-is-already-in-a-valid-auth0-session/102244 "2023-03-10T08:40:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markchristopherng](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markchristopherng/32/45314_2.png) [@markchristopherng](https://community.auth0.com/u/markchristopherng)\
**Post date:** [March 10, 2023, 8:40am UTC](https://community.auth0.com/t/method-on-android-sdk-to-get-a-different-access-token-given-user-is-already-in-a-valid-auth0-session/102244/1 "2023-03-10T08:40:16Z")

</div>

Hi,

Given that the user had already authenticated and has a valid auth0 session how do you get a different access token with a different audience etc.

I checked the Android SDK and could not find any such method however the web developers in our company said this was possible on the web SDK.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 10, 2023, 11:27pm UTC](https://community.auth0.com/t/method-on-android-sdk-to-get-a-different-access-token-given-user-is-already-in-a-valid-auth0-session/102244/3 "2023-03-10T23:27:54Z")

</div>

Hey there @markchristopherng welcome to the community!

> [@markchristopherng](#):
>
> I checked the Android SDK and could not find any such method however the web developers in our company said this was possible on the web SDK.

[Silent Auth](https://auth0.com/docs/authenticate/login/configure-silent-authentication) (falls back to iframe) is typically used in SPAs to get an access token with a new audience without requiring users to re-auth. This is not possible in the context of our mobile SDKs as they rely on refresh tokens. In order to obtain a different token you will need to call login again with a new audience. This is because refresh tokens are scoped to the original access token.

Hope this helps to clarify!

---

<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:** [March 24, 2023, 11:28pm UTC](https://community.auth0.com/t/method-on-android-sdk-to-get-a-different-access-token-given-user-is-already-in-a-valid-auth0-session/102244/4 "2023-03-24T23:28:46Z")

</div>

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