File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,8 @@ spring:
32
32
management :
33
33
security :
34
34
enabled : false
35
+
36
+ security :
37
+ oauth2 :
38
+ resource :
39
+ user-info-uri : http://localhost:5000/uaa/current
Original file line number Diff line number Diff line change 26
26
stripPrefix : false
27
27
sensitiveHeaders :
28
28
svca-service :
29
- path : /svca/**
29
+ path : /svca/**
30
+ sensitiveHeaders :
31
+ svcb-service :
32
+ path : /svcb/**
33
+ sensitiveHeaders:
Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ authserver:
8
8
port : 5000
9
9
contextPath : uaa
10
10
11
- spring :
11
+ security :
12
12
oauth2 :
13
- resource :
14
- userInfoUri : http://${authserver.hostname}:${authserver.port}/${authserver.contextPath}/current
15
- preferTokenInfo : false
13
+ client :
14
+ clientId : account-service
15
+ clientSecret : ${ACCOUNT_SERVICE_PASSWORD:password}
16
+ accessTokenUri : http://localhost:5000/uaa/oauth/token
17
+ grant-type : client_credentials
18
+ scope : server
You can’t perform that action at this time.
0 commit comments