Added sub to userClaims #3

Merged
luiz merged 1 commits from feature/sub into main 2024-10-27 15:14:34 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -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) {