aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/github/scribejava/apis/AppleSignInApi.java3
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();
}
}