Google login uses same account everytime users login

前端 未结 13 1802
无人共我
无人共我 2020-12-09 11:22

I use OAuth to let users sign in to the android app via Google account. When the user taps the Google login button for the first time, it produces a dialog to choose the acc

13条回答
  •  一个人的身影
    2020-12-09 12:24

    I found this question while searching for a solution using the javascript client, but it might be similar with Android.

    signIn({ prompt: 'select_account' })

    select_account

    The authorization server prompts the user to select a Google account. This allows a user who has multiple accounts to select amongst the multiple accounts that they may have current sessions for.

    See https://developers.google.com/identity/sign-in/web/reference#googleauthsigninoptions.

提交回复
热议问题