Added sub to userClaims

This commit is contained in:
Luiz Vasconcelos 2024-10-27 16:14:08 +01:00
parent 7a1644b9e3
commit 33ebf1dd0a
1 changed files with 1 additions and 0 deletions

View File

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