Skip to content

Commit fc451d0

Browse files
committed
Modified README and added notes to application.yml for changes made
1 parent ed91c22 commit fc451d0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This repo holds separate sample applications for each one of the four OAuth 2.0 grant types supported by the Pivotal Single Sign-On Service. The GRANT_TYPE environment variable is already set to the relevant value mentioned below for each sample application. Each grant type maps to an Application Type as seen in the Pivotal Single Sign-On Service Dashboard.
44

5-
The latest version of this repository supports Spring Boot 1.5. The last version to support Spring Boot 1.3 is tagged at [spring-boot/1.3](https://github.com/pivotal-cf/identity-sample-apps/releases/tag/spring-boot%2F1.3).
5+
The latest version of this repository supports Spring Boot 1.5.5+ and requires the SSO connector 2.1.1+. The last version to support Spring Boot 1.3 is tagged at [spring-boot/1.3](https://github.com/pivotal-cf/identity-sample-apps/releases/tag/spring-boot%2F1.3).
66

77
Application Type | Grant Type
88
------------- | -------------
@@ -62,6 +62,8 @@ It has three API endpoints:
6262

6363
To push the app, follow steps [1](#step-1) and [2](#step-2) of the previous section.
6464

65+
Beginning with our Spring Boot 1.5 version of the identity sample applications, you may also bind the Resource Server to the Single Sign-On Service instead of providing the AUTH_SERVER value.
66+
6567
## Setting up Authcode Sample App to use Resource Server
6668

6769
Currently, only the authcode sample app uses the resource server, but the other grant types should be similar.

Diff for: resource-server/src/main/resources/application.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ security:
1616
resource:
1717
preferTokenInfo: false
1818
userInfoUri: ${AUTH_SERVER}/userinfo
19+
# Token Info endpoint is used for online token validation. If Token Keys endpoint (jwk.key-set-uri) is configured, this value is not used.
1920
tokenInfoUri: ${AUTH_SERVER}/check_token
21+
# Token Keys endpoint is used for offline token validation. This value must be deleted if online token validation is desired.
2022
jwk:
2123
key-set-uri: ${AUTH_SERVER}/token_keys
24+
# This value is used by the SSO connector and will be overwritten along with other Spring Boot OAuth2 values if bound the the SSO service.
2225
ssoServiceUrl: ${AUTH_SERVER}
2326
logging.level:
2427
org.springframework.security: DEBUG

0 commit comments

Comments
 (0)