diff --git a/server/auth/microsoft/microsoft.go b/server/auth/microsoft/microsoft.go index b3c5ed5d93747dfd29cffdfb50588d93f04cf576..38336f64e82b28b195fb3031698818459e620223 100644 --- a/server/auth/microsoft/microsoft.go +++ b/server/auth/microsoft/microsoft.go @@ -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")), } }