aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-12-25 16:44:01 +0300
committerGravatar Vitaly Takmazov2019-12-25 16:44:01 +0300
commit78ee6cf0ec2ab93ad322dd2c6137b68f8e1de34b (patch)
tree5ad8b38a5f33e62d69a8edbb9b1c951bf9347918 /src/main/java/com/juick/server/configuration
parentdf812aa75aac92ff4685dcf052b9ac4ed8d12fe6 (diff)
AppleClientSecretGenerator does not depend on Spring
Diffstat (limited to 'src/main/java/com/juick/server/configuration')
-rw-r--r--src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java b/src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java
index b55ba391..310c5899 100644
--- a/src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java
+++ b/src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java
@@ -40,6 +40,6 @@ public class SignInWithAppleConfig {
@Bean
public AppleClientSecretGenerator clientSecretGenerator() throws IOException, InvalidKeySpecException, NoSuchAlgorithmException {
- return new AppleClientSecretGenerator(appId, teamId, keyId, keyPath.getInputStream());
+ return new AppleClientSecretGenerator(appId, teamId, keyId, keyPath.getFile().toPath());
}
}