Skip to content

Commit

Permalink
Merge pull request #87 from uselagoon/no-token-logs
Browse files Browse the repository at this point in the history
fix: do not log user token value
  • Loading branch information
smlx authored Jul 20, 2022
2 parents 4051889 + 901908f commit eae1971
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/keycloak/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ func (c *Client) UserRolesAndGroups(ctx context.Context,
if err != nil {
return nil, nil, nil, fmt.Errorf("couldn't get user token: %v", err)
}
c.log.Debug("got user token", zap.String("access token",
userToken.AccessToken))
c.log.Debug("got user token")
// parse and extract verified attributes
tok, err := jwt.ParseSigned(userToken.AccessToken)
if err != nil {
Expand Down

0 comments on commit eae1971

Please sign in to comment.