Chore: Use the correct value in log (#96840)

pull/95733/head
Misi 7 months ago committed by GitHub
parent d5f404d082
commit d0d62fc518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/services/oauthtoken/oauth_token.go

@ -392,7 +392,7 @@ func (o *Service) tryGetOrRefreshOAuthToken(ctx context.Context, persistedToken
if o.Cfg.Env == setting.Dev {
ctxLogger.Debug("Oauth got token",
"auth_module", usr.GetAuthID(),
"auth_module", usr.GetAuthenticatedBy(),
"expiry", fmt.Sprintf("%v", token.Expiry),
"access_token", fmt.Sprintf("%v", token.AccessToken),
"refresh_token", fmt.Sprintf("%v", token.RefreshToken),

Loading…
Cancel
Save