How do I log out of a chrome.identity oauth provider

前端 未结 8 1983
一生所求
一生所求 2020-12-01 16:52

I\'m using chrome.identity to log into a 3rd party oauth provider in an chrome extension. It works fine for logging in- when I use launchWebAuthFlow I am presented with the

8条回答
  •  無奈伤痛
    2020-12-01 17:02

    You should add prompt=select_account to your auth URL. Your problem will be solved.

    https://accounts.google.com/o/oauth2/auth?client_id={clientId}&response_type=token&scope={scopes}&redirect_uri={redirectURL}&prompt=select_account

提交回复
热议问题