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

refactor: enforcing authentication based on environment variable "ENFORCE_AUTH" #1634

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Harsh-Microsoft
Copy link

Purpose

Enforcing authentication based on environment variable "ENFORCE_AUTH". Added an environment variable called 'ENFORCE_AUTH'. If the variable is not present or is set to 'true', the authentication message will be displayed on the web app. If the value is set to 'false', the authentication message will be disabled, allowing us to run our Test Automation scripts.

  • ...

Does this introduce a breaking change?

  • Yes
  • [ x] No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Harsh-Microsoft Harsh-Microsoft changed the title refactor- enforcing authentication based on environment variable "ENFORCE_AUTH" refactor: enforcing authentication based on environment variable "ENFORCE_AUTH" Jan 31, 2025
Copy link

github-actions bot commented Jan 31, 2025

Coverage

Coverage Report •
FileStmtsMissCoverMissing
code
   create_app.py213796%40, 414, 435, 543–545, 550
code/backend/batch/utilities/helpers
   env_helper.py2011194%104, 107–108, 160, 371–373, 395, 400–402
TOTAL382385877% 

Tests Skipped Failures Errors Time
395 0 💤 0 ❌ 0 🔥 52.890s ⏱️

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.

1 participant