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

Fix staging basic auth #1042

Merged
merged 1 commit into from
May 20, 2024
Merged

Fix staging basic auth #1042

merged 1 commit into from
May 20, 2024

Conversation

placek
Copy link
Contributor

@placek placek commented May 17, 2024

In this pull request, the authentication logic for staging environments has been adjusted to enhance flexibility and customization. The script in scripts/govtool/config.mk has been modified to consider the environment variable 'env' instead of the domain name when configuring authentication settings for staging environments. This change allows for a more adaptable authentication process tailored to the specific requirements of different staging environments. By updating the authentication configuration based on the 'env' variable, the overall security and functionality of the application is improved, ensuring that the authentication setup is aligned with the precise needs of each staging environment, ultimately enhancing security and user experience.

In this commit, the script `scripts/govtool/config.mk` was modified to
adjust the authentication logic for staging environments. The changes
include updating the condition to check for the environment variable
'env' instead of the domain. Specifically, the script now checks if the
environment is not equal to "beta" before configuring the authentication
settings accordingly.

The previous logic was based on the domain name, which was not flexible
enough for different staging environments. By changing the condition to
check the environment variable 'env' and making adjustments in the
authentication configuration file, the staging basic auth process is now
more customizable and suitable for different environments. This
modification ensures that the authentication configuration aligns with
the specific staging environment requirements, improving the overall
security and functionality of the application.
@placek placek self-assigned this May 17, 2024
@placek placek merged commit a957bf1 into develop May 20, 2024
1 check passed
@placek placek deleted the fix/fix-staging-basic-auth branch May 20, 2024 11:41
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