diff options
author | Vitaly Takmazov | 2024-06-25 11:25:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-06-25 11:25:29 +0300 |
commit | f9fde9b8aaf242704b62d025337393331ff1ce9e (patch) | |
tree | 74be2458531c685ea5bc20dd7b5b85561cc331e3 /src | |
parent | b929c4e05d91cc2814c596aa3f90d148ff73bac0 (diff) |
Fix Apple sign in
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/github/scribejava/apis/AppleSignInApi.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/github/scribejava/apis/AppleSignInApi.java b/src/main/java/com/github/scribejava/apis/AppleSignInApi.java index 5d11a2a6..9e487ca0 100644 --- a/src/main/java/com/github/scribejava/apis/AppleSignInApi.java +++ b/src/main/java/com/github/scribejava/apis/AppleSignInApi.java @@ -114,7 +114,8 @@ public class AppleSignInApi extends DefaultApi20 { } String email = (String) claimsSet.get("email"); - boolean verified = claimsSet.get("email_verified").equals("true"); + boolean verified = claimsSet.get("email_verified").equals(true); + logger.debug("Email {} verified: {}", email, verified); return verified ? Optional.of(email) : Optional.empty(); } } |