Skip to content

Commit

Permalink
properly bind IdP service to the app
Browse files Browse the repository at this point in the history
  • Loading branch information
jfredrickson committed Jun 21, 2023
1 parent 0c029e3 commit 8fb23e2
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 43 deletions.
1 change: 1 addition & 0 deletions bin/cg-bootstrap-space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ cf bind-security-group public_networks_egress $org --space $space
# Services
cf create-service aws-elasticache-redis $redis_plan smartpay-training-redis
cf create-service aws-rds $rds_plan smartpay-training-db
cf create-service cloud-gov-identity-provider oauth-client smartpay-training-oauth-client

# Secrets
cf create-user-provided-service smartpay-training-secrets
39 changes: 0 additions & 39 deletions bin/cg-create-identity-service.sh

This file was deleted.

3 changes: 3 additions & 0 deletions manifest-vars.dev.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env: dev
memory: 256M
instances: 1
oauth_redirect_uri:
- https://federalist-2e11f2c8-970f-44f5-acc8-b47ef6c741ad.sites.pages.cloud.gov/site/gsa/smartpay-training/
- https://federalist-2e11f2c8-970f-44f5-acc8-b47ef6c741ad.sites.pages.cloud.gov/site/gsa/smartpay-training/auth_callback
3 changes: 3 additions & 0 deletions manifest-vars.prod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env: prod
memory: 4G
instances: 2
oauth_redirect_uri:
- https://training.smartpay.gsa.gov
- https://training.smartpay.gsa.gov/auth_callback
3 changes: 3 additions & 0 deletions manifest-vars.staging.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env: staging
memory: 256M
instances: 2
oauth_redirect_uri:
- https://training.smartpay.gsa.gov
- https://training.smartpay.gsa.gov/auth_callback
3 changes: 3 additions & 0 deletions manifest-vars.test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env: test
memory: 256M
instances: 1
oauth_redirect_uri:
- https://training.smartpay.gsa.gov
- https://training.smartpay.gsa.gov/auth_callback
10 changes: 6 additions & 4 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ applications:
- route: smartpay-training-((env)).app.cloud.gov
instances: ((instances))
services:
- smartpay-training-db
- smartpay-training-redis
- smartpay-training-secrets
- smartpay-training-oauth-client
- name: smartpay-training-db
- name: smartpay-training-redis
- name: smartpay-training-secrets
- name: smartpay-training-oauth-client
parameters:
redirect_uri: ((oauth_redirect_uri))

0 comments on commit 8fb23e2

Please sign in to comment.