fix: correct returned field for JWTTokenRequest
JWTTokenRequest.GetIssuedAt() was returning the ExpiresAt field. This change corrects that by returning IssuedAt instead. This bug was introduced in #283
This commit is contained in:
parent
115813ee38
commit
a08ce50091
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ func (j *JWTTokenRequest) GetExpiration() time.Time {
|
||||||
|
|
||||||
// GetIssuedAt implements the Claims interface
|
// GetIssuedAt implements the Claims interface
|
||||||
func (j *JWTTokenRequest) GetIssuedAt() time.Time {
|
func (j *JWTTokenRequest) GetIssuedAt() time.Time {
|
||||||
return j.ExpiresAt.AsTime()
|
return j.IssuedAt.AsTime()
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetNonce implements the Claims interface
|
// GetNonce implements the Claims interface
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue