Oauth: Reduce error scope on upsert (#53242)
This commit is contained in:
@@ -193,7 +193,7 @@ func (hs *HTTPServer) OAuthLogin(ctx *models.ReqContext) {
|
||||
// token.TokenType was defaulting to "bearer", which is out of spec, so we explicitly set to "Bearer"
|
||||
token.TokenType = "Bearer"
|
||||
|
||||
oauthLogger.Debug("OAuthLogin: got token", "token", fmt.Sprintf("%v", token))
|
||||
oauthLogger.Debug("OAuthLogin: got token", "token", fmt.Sprintf("%+v", token))
|
||||
|
||||
// set up oauth2 client
|
||||
client := connect.Client(oauthCtx, token)
|
||||
|
||||
Reference in New Issue
Block a user