mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
identity/google: always show user selection.
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
29eee409ef
commit
b12ecc4cba
2 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,7 @@ func (p *GoogleProvider) Revoke(accessToken string) error {
|
|||
// prompt=consent to the OAuth redirect URL and will always return a refresh_token.
|
||||
// https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess
|
||||
func (p *GoogleProvider) GetSignInURL(state string) string {
|
||||
return p.oauth.AuthCodeURL(state, oauth2.AccessTypeOffline, oauth2.ApprovalForce)
|
||||
return p.oauth.AuthCodeURL(state, oauth2.AccessTypeOffline, oauth2.SetAuthURLParam("prompt", "select_account consent"))
|
||||
}
|
||||
|
||||
// Authenticate creates an identity session with google from a authorization code, and follows up
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue