Skip to content

Commit

Permalink
log token only at debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 7, 2024
1 parent cbe8a54 commit 2fdde94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsshlib/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func GetToken(ctx context.Context, config *OIDCConfig) (string, error) {

select {
case tokens := <-resultChan:
Logger().Infof("Refresh token: %s", tokens.RefreshToken)
Logger().Debugf("Refresh token: %s", tokens.RefreshToken)
return tokens.AccessToken, nil
case <-ctx.Done():
return "", errors.New("timeout: OIDC authentication took too long")
Expand Down

0 comments on commit 2fdde94

Please sign in to comment.