Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a249a9a
feat: Refactor redirection logic in login_and_registration_form view
subhashree-sahu31 Feb 12, 2026
686d30d
fix: Update GitHub Actions workflow for Python dependency checks
subhashree-sahu31 Feb 12, 2026
a3e7559
fix: Add tests for Enterprise customer redirection to AuthN MFE
subhashree-sahu31 Feb 12, 2026
71d3064
fix: Fix pycodestyle W292 errors by adding newlines at the end of files
subhashree-sahu31 Feb 12, 2026
985c7cd
fix: Fix linting issues in test_logistration.py
subhashree-sahu31 Feb 12, 2026
5074b3e
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
c3374b4
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
6005bcd
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
644d27b
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
d5fb252
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
dafc90f
fix: Fix redirection logic for enterprise customers with SAML/TPA
subhashree-sahu31 Feb 12, 2026
aa6c866
fix: Fix CI workflow: Ensure setuptools is installed to resolve pkg_r…
subhashree-sahu31 Feb 12, 2026
cd02b0c
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
2a21470
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
183d20d
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
471f227
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
9c63f1a
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
170645d
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
459161d
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
5f85020
fix: disabling authn MFE redirection if tpa hint is there
subhashree-sahu31 Feb 12, 2026
0d7b052
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
1fe9f25
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
234fafc
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
087fbf2
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
0c7b3cf
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
dbc1fd8
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
2e1d027
fix: fixed the unit-test workflow for upgrading the docker client ver…
subhashree-sahu31 Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .github/workflows/check_python_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,26 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install repo-tools
run: pip install edx-repo-tools[find_dependencies]

- name: Install setuptool
run: pip install setuptools
- name: Install tools for dependency check
run: |
python -m pip install --upgrade pip
# Pin setuptools to version <82 to ensure pkg_resources is included
python -m pip install "setuptools<82" "edx-repo-tools[find_dependencies]"

- name: Run Python script
- name: Verify pkg_resources availability
run: |
python - << 'PY'
import sys
print("Python exe:", sys.executable)
import pkg_resources
print("pkg_resources from:", pkg_resources.__file__)
PY

- name: Run Python dependency check
run: |
find_python_dependencies \
python -m edx_repo_tools.find_dependencies.find_python_dependencies \
--req-file requirements/edx/base.txt \
--req-file requirements/edx/testing.txt \
--ignore https://github.com/edx/edx-name-affirmation \
--ignore https://github.com/mitodl/edx-sga \
--ignore https://github.com/open-craft/xblock-poll
--ignore https://github.com/open-craft/xblock-poll
13 changes: 10 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install libmysqlclient-dev libxmlsec1-dev lynx

- name: Upgrade Docker
run: |
sudo apt-get update
sudo apt-get install --only-upgrade docker-ce docker-ce-cli containerd.io
docker --version

# We pull this image a lot, and Dockerhub will rate limit us if we pull too often.
# This is an attempt to cache the image for better performance and to work around that.
# It will cache all pulled images, so if we add new images to this we'll need to update the key.
Expand All @@ -83,9 +89,10 @@ jobs:
key: docker-${{ runner.os }}-mongo-${{ matrix.mongo-version }}

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: ${{ matrix.mongo-version }}
run: |
docker run -d -p 27017:27017 --name mongodb mongo:${{ matrix.mongo-version }}
sleep 10
docker ps

- name: Setup Python
uses: actions/setup-python@v5
Expand Down
15 changes: 14 additions & 1 deletion openedx/core/djangoapps/user_authn/config/waffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Waffle flags and switches for user authn.
"""

from edx_toggles.toggles import WaffleSwitch
from edx_toggles.toggles import WaffleFlag, WaffleSwitch

_WAFFLE_NAMESPACE = 'user_authn'

Expand Down Expand Up @@ -31,3 +31,16 @@
ENABLE_PWNED_PASSWORD_API = WaffleSwitch(
f'{_WAFFLE_NAMESPACE}.enable_pwned_password_api', __name__
)

# .. toggle_name: user_authn.enable_enterprise_redirect_to_authn
# .. toggle_implementation: WaffleFlag
# .. toggle_default: False
# .. toggle_description: When enabled, Enterprise (B2B) users are redirected to the AuthN MFE like B2C users.
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2025-02-11
# .. toggle_warning: Only enable for Enterprise pilots; SAML/TPA flows remain on legacy.
# Gating flag for Enterprise AuthN MFE rollout
ENABLE_ENTERPRISE_REDIRECT_TO_AUTHN = WaffleFlag(
f'{_WAFFLE_NAMESPACE}.enable_enterprise_redirect_to_authn',
__name__
)
Loading
Loading