Added sub to userClaims
This commit is contained in:
parent
7a1644b9e3
commit
33ebf1dd0a
|
@ -33,6 +33,7 @@ type UserClaims struct {
|
|||
Name string `json:"given_name"`
|
||||
Username string `json:"cognito:username"`
|
||||
Picture string `json:"picture"`
|
||||
Sub string `json:"sub"`
|
||||
}
|
||||
|
||||
func generateState() (string, error) {
|
||||
|
|
Loading…
Reference in New Issue