function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chase StarrChase Starr 

Google single sign on prompt to select google account

Hi folks

My goal is to enable single sign-on with google into a community page. I have successfully connected a google auth provided to the community and the integration generally works, but i am noticing a bug.

Steps to reproduce:
1. navigate to community portal
2. press login with google button
3. sign in with google account without access to the page (my community does not enable new users to sign up)
4. visitor is provided an error message saying they cannot sign in.
5. visitor has another google account that _does_ have access to the portal so, navigates back to the portal login page.
6. visitor is directly logged into the original google account with no opportunity to change accounts.

Optimal behavior:
1. navigate to community portal
2. press sign in with google button
3. sign in with incorrect account
4. navigate back to portal login page
5. press sign in with google button
6. prompt to select a google account/oppotunity to login with another email/password

The 'prompt' option of google's javascript library has a way to configure this functionality. Is it possible to make this same configuration within the auth provider?

Thanks!