Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0
-
Security Level: Public
-
None
-
CBG Sprint 129
-
1
Description
authenticateJWTIdentity is setting JWTLastUpdated to time.Now() every time a JWT is used for authentication. This triggers an update to the principal document in updatePrincipal, which results in unintended sequence allocation and user doc mutation per authentication.
JWTLastUpdated should only be updated when one of the other JWT-related properties is modified on the principal.