Tweak auto-login configuration

This commit is contained in:
Neil Martinsen-Burrell 2023-06-05 14:42:11 -05:00
parent 7e2f2ec7e5
commit 0254d879e4
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
4 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ jobs:
# by adding MockUserLogin to settings.MIDDLEWARE # by adding MockUserLogin to settings.MIDDLEWARE
run: | run: |
perl -pi \ perl -pi \
-e 's/"csp.middleware.CSPMiddleware",/$&"registrar.tests.common.MockUserLogin",/' \ -e 's/"django.contrib.auth.middleware.AuthenticationMiddleware",/$&"registrar.tests.common.MockUserLogin",/' \
src/registrar/config/settings.py src/registrar/config/settings.py
working-directory: ./src working-directory: ./src

View file

@ -59,7 +59,7 @@ jobs:
# by adding MockUserLogin to settings.MIDDLEWARE # by adding MockUserLogin to settings.MIDDLEWARE
run: | run: |
perl -pi \ perl -pi \
-e 's/"csp.middleware.CSPMiddleware",/$&"registrar.tests.common.MockUserLogin",/' \ -e 's/"django.contrib.auth.middleware.AuthenticationMiddleware",/$&"registrar.tests.common.MockUserLogin",/' \
registrar/config/settings.py registrar/config/settings.py
- name: Start container - name: Start container

View file

@ -112,7 +112,6 @@ class TestURLAuth(TestCase):
# These are the OIDC auth endpoints that always need # These are the OIDC auth endpoints that always need
# to be public. # to be public.
"/openid/login/", "/openid/login/",
"/openid/logout/",
"/openid/callback", "/openid/callback",
"/openid/callback/login/", "/openid/callback/login/",
"/openid/callback/logout/", "/openid/callback/logout/",

View file

@ -53,6 +53,7 @@
10038 OUTOFSCOPE http://app:8080/users/add 10038 OUTOFSCOPE http://app:8080/users/add
10038 OUTOFSCOPE http://app:8080/nameservers 10038 OUTOFSCOPE http://app:8080/nameservers
10038 OUTOFSCOPE http://app:8080/your-contact-information 10038 OUTOFSCOPE http://app:8080/your-contact-information
10038 OUTOFSCOPE http://app:8080/authorizing-official
10038 OUTOFSCOPE http://app:8080/security-email 10038 OUTOFSCOPE http://app:8080/security-email
10038 OUTOFSCOPE http://app:8080/delete 10038 OUTOFSCOPE http://app:8080/delete
10038 OUTOFSCOPE http://app:8080/withdraw 10038 OUTOFSCOPE http://app:8080/withdraw