mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 11:26:29 +02:00
Don't force consent screen for every Azure AD login
Signed-off-by: Arend Lagendijk <a.lagendijk@minddistrict.com>
This commit is contained in:
parent
e1c00b1646
commit
fe27b79b81
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ func (p *AzureProvider) Revoke(token string) error {
|
|||
|
||||
// GetSignInURL returns the sign in url with typical oauth parameters
|
||||
func (p *AzureProvider) 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"))
|
||||
}
|
||||
|
||||
// Refresh renews a user's session using an oid refresh token without reprompting the user.
|
||||
|
|
Loading…
Add table
Reference in a new issue