Skip to content

Commit

Permalink
Merge pull request #13 from Troth-Cam/feat/apple-login
Browse files Browse the repository at this point in the history
feat : application-secret.yml 추가
  • Loading branch information
aeeazip committed Jul 5, 2023
2 parents a0d2017 + 11d21dd commit 3712ed0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

import java.util.Optional;

@RequiredArgsConstructor
@Service
@RequiredArgsConstructor
public class OAuthService {
private final Logger logger = LoggerFactory.getLogger(getClass());
private final AppleOAuthUserProvider appleOAuthUserProvider;
Expand Down
10 changes: 2 additions & 8 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ spring:
config:
activate:
on-profile: local
# import:
# application-secret.yml
import:
application-secret.yml

oauth:
apple:
iss: ${APPLE_ISSUE}
client-id: ${APPLE_BUNDLE_ID}

jwt:
secret: ${JWT_SECRET}
7 changes: 7 additions & 0 deletions src/main/resources/application-secret.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
oauth:
apple:
iss: GYEONG JUN PARK
client-id: trothcam

jwt:
secret: a2FrYW9jbG91ZHNjaG9vbGxvY2Fsa2FrYW9jbG91ZGMK

0 comments on commit 3712ed0

Please sign in to comment.