Skip to content

Commit 0fef3ed

Browse files
medvedzverjhamon
authored andcommitted
add default value for an AUTH_SERVER
[#148928881] https://www.pivotaltracker.com/story/show/148928881 Signed-off-by: Jennifer Hamon <[email protected]>
1 parent 2e69baf commit 0fef3ed

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Diff for: README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ The sample application and resource server be available immediately bound to the
4646
## Deploying Resource Server
4747

4848
### Setup
49-
The resource server needs to know the Auth Server (or UAA) location in order to retrieve the token key to validate the tokens.
50-
Set the Auth Server location as the value of the auth_domain environment variable for the authcode sample app.
51-
52-
`cf set-env <RESOURCE_SERVER_APP_NAME> AUTH_SERVER <AUTH_SERVER_LOCATION>`
49+
The resource server needs to know the Auth Server (or UAA) location in order to retrieve the token key to validate the tokens.
50+
Change `AUTH_SERVER` in `manifest.yml` to point to your UAA instance.
5351

5452
For example, for a given SSO service plan/UAA identity zone, the location would be `https://subdomain.login.my-domain.org`
5553

Diff for: resource-server/manifest.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ applications:
66
path: build/libs/resource-server.jar
77
env:
88
SKIP_SSL_VALIDATION: "true"
9+
AUTH_SERVER: https://<plan-auth-domain>.login.<your-domain>.com

0 commit comments

Comments
 (0)