From 78dcf56bc9a4a7abea55a3b4fb99b11465f231a2 Mon Sep 17 00:00:00 2001 From: Helmut Januschka Date: Tue, 13 Feb 2024 15:38:46 +0100 Subject: [PATCH] FIX apple sign in apple turned this into a real bool, and unmarshaling fails using the string thing --- providers/apple/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/apple/session.go b/providers/apple/session.go index 8f03b5158..052775b7d 100644 --- a/providers/apple/session.go +++ b/providers/apple/session.go @@ -51,7 +51,7 @@ type IDTokenClaims struct { AccessTokenHash string `json:"at_hash"` AuthTime int `json:"auth_time"` Email string `json:"email"` - IsPrivateEmail bool `json:"is_private_email,string"` + IsPrivateEmail bool `json:"is_private_email"` } func (s *Session) Authorize(provider goth.Provider, params goth.Params) (string, error) {