Performing Google Federated Login/oAuth2 after initial Authentication

前端 未结 4 1985
你的背包
你的背包 2021-01-04 05:36

I am trying to support \"Hybrid\" Federated Login and oAuth2 (using logic from this document) for a webservice which will:

  1. support Sign in using your G
4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 06:09

    Add this paramter to the https://accounts.google.com/o/oauth2/auth URL call: approval_prompt=force and then the Sign in using your Google account will always show regardless of whether the user was already signed into that or any other account.

    So the call would be like this https://accounts.google.com/o/oauth2/auth?client_id=&redirect_uri=&scope=&access_type=&response_type=code&approval_prompt=force

提交回复
热议问题