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

This commit is contained in:
Misi
2024-11-21 16:02:37 +02:00
committed by GitHub
parent d5f404d082
commit d0d62fc518
+1 -1
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),