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