diff options
author | Vitaly Takmazov | 2023-01-13 15:46:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 15:46:48 +0300 |
commit | 8b70eded6c9cc3b9cf634356239701fe65779791 (patch) | |
tree | b82c69a70c574c0ae482863c3a8ca33cf5fa6297 /src/main/java/com/juick/www/controllers | |
parent | e8c00d21df450198707a361bb57f983de3025f26 (diff) |
Specify explicit list of claims expected in JWT verification
Diffstat (limited to 'src/main/java/com/juick/www/controllers')
-rw-r--r-- | src/main/java/com/juick/www/controllers/SocialLogin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/controllers/SocialLogin.java b/src/main/java/com/juick/www/controllers/SocialLogin.java index 3e865215..4e26ab99 100644 --- a/src/main/java/com/juick/www/controllers/SocialLogin.java +++ b/src/main/java/com/juick/www/controllers/SocialLogin.java @@ -124,7 +124,7 @@ public class SocialLogin { ServiceBuilder appleSignInBuilder = new ServiceBuilder(appleApplicationId); String appleSignInRedirectUri = redirectBuilder.replacePath("/_apple").build().toUriString(); appleSignInService = appleSignInBuilder.callback(appleSignInRedirectUri).defaultScope("email") - .build(new AppleSignInApi(clientSecretGenerator)); + .build(new AppleSignInApi(clientSecretGenerator, appleApplicationId)); } @GetMapping("/_fblogin") |