Skip to content

Commit

Permalink
test: allowed urls list updated in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf committed Jan 24, 2025
1 parent bcb7cbe commit af31280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openedx_companion_auth/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def plugin_settings( # type: ignore[no-redef]
settings.MITX_REDIRECT_ENABLED = True
settings.MITX_REDIRECT_LOGIN_URL = "/auth/login/ol-oauth2/?auth_entry=login"
settings.MITX_REDIRECT_ALLOW_RE_LIST = [
r"^/(admin|auth|login|logout|register|api|oauth2|user_api)"
r"^/(admin|auth|login|logout|register|api|oauth2|user_api|c4x|asset-v1:|assets/courseware/)"
]
settings.MITX_REDIRECT_DENY_RE_LIST = []

Expand Down

0 comments on commit af31280

Please sign in to comment.