From 33ebf1dd0a9178c784c0659216198e1220a05edc Mon Sep 17 00:00:00 2001 From: Luiz Vasconcelos Date: Sun, 27 Oct 2024 16:14:08 +0100 Subject: [PATCH] Added sub to userClaims --- handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers.go b/handlers.go index 55e904d..82565ec 100644 --- a/handlers.go +++ b/handlers.go @@ -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) {