Skip to content

Commit

Permalink
Updated JWT claim field name
Browse files Browse the repository at this point in the history
  • Loading branch information
daystram committed Dec 26, 2020
1 parent 437da3b commit 58af170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datatransfers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

type JWTClaims struct {
ID uint `json:"id,omitempty"`
ID uint `json:"sub,omitempty"`
ExpiresAt int64 `json:"exp,omitempty"`
IssuedAt int64 `json:"iat,omitempty"`
}
Expand Down

0 comments on commit 58af170

Please sign in to comment.