Stuck logging into a single google account. How to allow switch?

I’m using the Universal Login Page in a react native app on IOS.

My login uses this call:

const credentials = await auth0.webAuth.authorize({ audience, scope });

if (!credentials.idToken) throw new Error('ID_TOKEN_UNDEFINED');
const { accessToken, refreshToken } = credentials;
await auth0.credentialsManager.saveCredentials(credentials as Credentials);

const info = await auth0.auth.userInfo({ token: accessToken });

My logout uses this call:

await auth0.credentialsManager.clearCredentials();
await auth0.webAuth.clearSession();

While testing the app, I logged into one google account. Now when I select the option again, I don’t get the option to select a different account. I tried calling clearsession, but nothing changed. Is there something missing?

Hi @carl.morris,

Welcome to the Auth0 Community!

Your logout call is correct in calling clearSession() to log the user out and clear their web session.

I understand that when you try to log in again with Google, it only prompts for the same Google account and does not give an option for another. In order to have an option to use another Google account, you must ensure that the second account is already logged in through Google. This way, once you select to log in with Google, you will be prompted to a “Choose an account” picker.

Let me know how this goes for you.

Thanks,
Rueben