Skip to content

Commit

Permalink
feat(handler/login): drop logging sub claim
Browse files Browse the repository at this point in the history
  • Loading branch information
tronghn committed Dec 19, 2023
1 parent 9c2d1cb commit f82c8a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,6 @@ func (s *Standalone) LoginCallback(w http.ResponseWriter, r *http.Request) {
fields["oid"] = oid
}

if sub := tokens.IDToken.GetToken().Subject(); sub != "" {
fields["sub"] = sub
}

logger.WithFields(fields).Info("callback: successful login")
metrics.ObserveLogin(amr, redirect)
http.Redirect(w, r, redirect, http.StatusFound)
Expand Down

0 comments on commit f82c8a7

Please sign in to comment.