Skip to content

Commit

Permalink
TEMPORARY TEST DSI on review app (remove commit before merging)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfodder committed Sep 5, 2024
1 parent 31e98f4 commit 8c5731b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
if ENV["DFE_SIGN_IN_REDIRECT_BASE_URL"].present?
dfe_sign_in_redirect_uri = URI.join(ENV["DFE_SIGN_IN_REDIRECT_BASE_URL"], "/admin/auth/callback")
dfe_sign_in_fe_provider_redirect_uri = URI.join(ENV["DFE_SIGN_IN_REDIRECT_BASE_URL"], dfe_sign_in_fe_provider_callback_path)

if ENV["ENVIRONMENT_NAME"].start_with?("review")
dfe_sign_in_redirect_uri.host = ENV["CANONICAL_HOSTNAME"]
dfe_sign_in_fe_provider_redirect_uri.host = ENV["CANONICAL_HOSTNAME"]
end
end

tid_sign_in_endpoint_uri = ENV["TID_SIGN_IN_API_ENDPOINT"].present? ? URI(ENV["TID_SIGN_IN_API_ENDPOINT"]) : nil
Expand Down
3 changes: 2 additions & 1 deletion terraform/application/config/review_app_env.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
BYPASS_DFE_SIGN_IN: true
BYPASS_DFE_SIGN_IN: false
BYPASS_ONELOGIN_SIGN_IN: true
ONELOGIN_DID_URL: https://identity.integration.account.gov.uk/.well-known/did.json

DFE_SIGN_IN_API_CLIENT_ID: teacherpayments
DFE_SIGN_IN_API_ENDPOINT: https://pp-api.signin.education.gov.uk
DFE_SIGN_IN_IDENTIFIER: teacherpayments
DFE_SIGN_IN_ISSUER: https://pp-oidc.signin.education.gov.uk:443
DFE_SIGN_IN_REDIRECT_BASE_URL: https://claim-additional-payments-for-teaching-review-3146-web.test.teacherservices.cloud

DQT_API_URL: https://preprod.teacher-qualifications-api.education.gov.uk/v1
DQT_BASE_URL: https://test-api-customerengagement.platform.education.gov.uk/dqt-crm/v1/
Expand Down

0 comments on commit 8c5731b

Please sign in to comment.