Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b39b6ca

Browse files
author
kimyonghwa
committed
update application.yml
- modify signkey path
1 parent d559180 commit b39b6ca

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/main/java/com/rest/oauth2/config/Oauth2AuthorizationConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Oauth2AuthorizationConfig extends AuthorizationServerConfigurerAdap
3131
private final DataSource dataSource;
3232
private final CustomUserDetailService userDetailService;
3333

34-
@Value("${oauth2.jwt.signkey}")
34+
@Value("${security.oauth2.jwt.signkey}")
3535
private String signKey;
3636

3737
@Override

‎src/main/resources/application.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spring:
1616
properties.hibernate.hbm2ddl.auto: update
1717
showSql: true
1818

19-
oauth2:
20-
jwt:
21-
signkey: 123@#$
19+
security:
20+
oauth2:
21+
jwt:
22+
signkey: 123@#$

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /