Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GOVUK_ENVIRONMENT as a backstop for DIGITAL_IDENTITY_ENVIRONMENT #53

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

KludgeKML
Copy link
Contributor

  • If DIGITAL_IDENTITY_ENVIRONMENT is missing, use GOVUK_ENVIRONMENT
  • Unless it's set to "production", in which case ignore.

(We aren't currently setting DIGITAL_IDENTITY_ENVIRONMENT to anything, and the DI environments integration and staging match ours, so we should use GOVUK_ENVIRONMENT as a fallback to avoid setting DIGITAL_IDENTITY_ENVIRONMENT unless we have a specific need).

https://trello.com/c/SiAQ3dZU/2086-redirect-govuk-account-to-homeaccountgovuk

- If DIGITAL_IDENTITY_ENVIRONMENT is missing, use GOVUK_ENVIRONMENT
- Unless it's set to "production", in which case ignore.
Copy link

@sengi sengi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks for this! Makes sense to keep the config in one place since there's already some logic for it in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants