Skip to content

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

+1-1
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

+4-3
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)