feat: IntrospectToken return the right Jti (JWT ID instead of User Id) (#2035)

This commit is contained in:
June 2023-07-03 18:01:06 +07:00 committed by GitHub
parent f3aed0b6a8
commit 28297e06f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,7 +325,7 @@ func (c *ApiController) IntrospectToken() {
Sub: jwtToken.Subject,
Aud: jwtToken.Audience,
Iss: jwtToken.Issuer,
Jti: jwtToken.Id,
Jti: jwtToken.ID,
}
c.ServeJSON()
}