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

This commit is contained in:
Misi
2024-11-21 15:02:37 +01:00
committed by GitHub
parent d5f404d082
commit d0d62fc518

View File

@ -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),