From f6e271671578a1df461ea860d07ab1d96ef32e74 Mon Sep 17 00:00:00 2001 From: Cornel Rautenbach <cornel.rautenbach@gmail.com> Date: Mon, 6 Jan 2025 22:06:02 +0200 Subject: [PATCH] Validate Apple auth - update interface type check --- auth/social_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/social_login.go b/auth/social_login.go index 6ef1c27..131b9f3 100644 --- a/auth/social_login.go +++ b/auth/social_login.go @@ -65,7 +65,7 @@ func ValidateAppleCode(code, redirectURI, encryptionKeySecret string, isDebug bo email := (*claim)["email"] emailVerified := (*claim)["email_verified"] - if emailVerified != "true" { + if emailVerified != true { return "", errors.Error("email not verified") } -- GitLab