Skip to content
Snippets Groups Projects
Commit e9697230 authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Add prompt=login.

parent e51757b1
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,9 @@ func (c *Config) Revoke(token *oauth2.Token) error {
// StartSession retrieves an authentication endpoint from Microsoft.
func (c *Config) StartSession(state string) *auth.Session {
return &auth.Session{
AuthURL: c.config.AuthCodeURL(state, oauth2.SetAuthURLParam("hd", c.tenant)),
AuthURL: c.config.AuthCodeURL(state,
oauth2.SetAuthURLParam("hd", c.tenant),
oauth2.SetAuthURLParam("prompt", "login")),
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment