diff options
author | Vitaly Takmazov | 2019-12-25 16:44:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-12-25 16:44:01 +0300 |
commit | 78ee6cf0ec2ab93ad322dd2c6137b68f8e1de34b (patch) | |
tree | 5ad8b38a5f33e62d69a8edbb9b1c951bf9347918 /src/main/java/com/juick | |
parent | df812aa75aac92ff4685dcf052b9ac4ed8d12fe6 (diff) |
AppleClientSecretGenerator does not depend on Spring
Diffstat (limited to 'src/main/java/com/juick')
-rw-r--r-- | src/main/java/com/juick/server/configuration/SignInWithAppleConfig.java | 2 |
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()); } } |