Remove JWT_COOKIES_FLAG.
The JWT_COOKIES_FLAG was a temporary flag used for rollout of the new JWT cookies. These are live in Production, so we are removing the flag. Without this flag, we set JWT cookies during login. However, this requires an oAuth Client that isn't always available during unit tests. We introduced a feature flag that is only used for unit tests to disable setting the JWT cookies. The code explains a bit more why this solution was selected over adding the oauth client to the database. ARCH-247
Showing
- cms/envs/aws.py 1 addition, 0 deletionscms/envs/aws.py
- cms/envs/bok_choy.auth.json 5 additions, 0 deletionscms/envs/bok_choy.auth.json
- cms/envs/bok_choy.env.json 0 additions, 3 deletionscms/envs/bok_choy.env.json
- cms/envs/bok_choy_docker.auth.json 5 additions, 0 deletionscms/envs/bok_choy_docker.auth.json
- cms/envs/bok_choy_docker.env.json 0 additions, 3 deletionscms/envs/bok_choy_docker.env.json
- cms/envs/production.py 1 addition, 0 deletionscms/envs/production.py
- cms/envs/test.py 2 additions, 0 deletionscms/envs/test.py
- lms/envs/bok_choy.auth.json 5 additions, 0 deletionslms/envs/bok_choy.auth.json
- lms/envs/bok_choy.env.json 0 additions, 3 deletionslms/envs/bok_choy.env.json
- lms/envs/bok_choy_docker.auth.json 5 additions, 0 deletionslms/envs/bok_choy_docker.auth.json
- lms/envs/bok_choy_docker.env.json 0 additions, 3 deletionslms/envs/bok_choy_docker.env.json
- lms/envs/test.py 2 additions, 1 deletionlms/envs/test.py
- openedx/core/djangoapps/user_api/accounts/tests/test_api.py 0 additions, 1 deletionopenedx/core/djangoapps/user_api/accounts/tests/test_api.py
- openedx/core/djangoapps/user_authn/cookies.py 13 additions, 10 deletionsopenedx/core/djangoapps/user_authn/cookies.py
- openedx/core/djangoapps/user_authn/tests/test_cookies.py 16 additions, 16 deletionsopenedx/core/djangoapps/user_authn/tests/test_cookies.py
- openedx/core/djangoapps/user_authn/views/tests/test_login.py 5 additions, 6 deletionsopenedx/core/djangoapps/user_authn/views/tests/test_login.py
- openedx/core/djangoapps/user_authn/views/tests/test_register.py 0 additions, 1 deletion...x/core/djangoapps/user_authn/views/tests/test_register.py
- openedx/core/djangoapps/user_authn/waffle.py 0 additions, 16 deletionsopenedx/core/djangoapps/user_authn/waffle.py
Please register or sign in to comment