Commit graph

99 commits

Author SHA1 Message Date
Rachid Mrad
9c8ed1682b
linter 2023-12-13 15:41:18 -05:00
Rachid Mrad
4adeb6722b
Revisions and clean up based on PR comments 2023-12-13 15:13:04 -05:00
Rachid Mrad
9b90172cd3
lint 2023-12-12 20:26:46 -05:00
Rachid Mrad
7c5eb79f0a
cleanup 2023-12-12 19:31:36 -05:00
Rachid Mrad
18e215dd08
Logger cleanup 2023-12-12 19:31:09 -05:00
Rachid Mrad
2f47272fff
Logger cleanup 2023-12-12 19:28:38 -05:00
Rachid Mrad
5254b7cda8
Logger cleanup 2023-12-12 19:27:45 -05:00
Rachid Mrad
e7e3df0422
Lint 2023-12-12 18:28:25 -05:00
David Kennedy
abae70b96e
added unit test for conflicting first and last names 2023-12-11 20:49:33 -05:00
David Kennedy
e7c26d9dc6
wrote test cases for testing backends.py authenticate 2023-12-11 20:03:00 -05:00
David Kennedy
e4803d6afd
refactored authenticate for readability 2023-12-11 19:08:34 -05:00
David Kennedy
fd19726a30
updated logic in oidc backend authenticate to not override with blank first_name/last_name 2023-12-11 19:03:10 -05:00
Rachid Mrad
270e910520
Bring in latest updates to comments from source PR branch 2023-12-11 17:22:51 -05:00
Rachid Mrad
e25dad495e
Intercept userinfo from login.gov and append given_name and family_name if user requires ial1 and exists in DB 2023-12-11 17:20:47 -05:00
David Kennedy
f7fdecfd33
updated comments to reflect tests; made logic more readable in needs_identity_verification 2023-12-08 17:32:25 -05:00
David Kennedy
0ed0cb6c37
all hail the linter 2023-12-08 11:30:15 -05:00
David Kennedy
294da6a1e2
fixed test oidc to work locally and PASS in pipeline 2023-12-08 11:26:33 -05:00
David Kennedy
a6ae9ad74e
fixed tests for djangooidc 2023-12-08 11:05:07 -05:00
David Kennedy
3bbfd5cd88
fixed test in pipeline 2023-12-08 10:43:56 -05:00
David Kennedy
5be972e068
testing test failure in pipeline 2023-12-08 10:13:38 -05:00
David Kennedy
02f5c81a58
debugging to figure out why test working in local, but not in pipeline 2023-12-08 09:30:15 -05:00
Rachid Mrad
1001454a85
More oidc tests test_login_callback_requires_step_up_auth and test_login_callback_no_step_up_auth, lint 2023-12-07 16:33:35 -05:00
Rachid Mrad
1a2b16a3da
WIP on more oidc testing 2023-12-07 14:46:21 -05:00
Rachid Mrad
ecb30fd73e
Unit tests for the requires_step_up_auth logic in login_callback 2023-12-07 01:27:27 -05:00
Rachid Mrad
ef9a542dda
Clean up loggers 2023-12-06 19:53:15 -05:00
Rachid Mrad
67d20a6296
Move the test for requires_step_up_auth up above the user authentication in login_callback, imlement needs_identity_verification in user model 2023-12-06 18:16:50 -05:00
David Kennedy
f6a288f511
set up step_up_auth using stubbed out User.needs_identity_verification 2023-12-06 15:49:21 -05:00
David Kennedy
695b4199f3
wip 2023-12-06 13:58:47 -05:00
David Kennedy
2e1ff849cf
wip 2023-12-06 13:34:13 -05:00
David Kennedy
c760417e6a
updated linter length; linter reformatted several files 2023-11-10 11:05:18 -05:00
David Kennedy
93370d45c2
checking transition domains on each login rather than on first login only 2023-11-07 15:01:02 -05:00
zandercymatics
1a347b5ed7
Fix lint real 2023-08-30 13:11:04 -06:00
zandercymatics
6be3725612
Fix linter issue 2023-08-30 13:08:37 -06:00
zandercymatics
107cdc3b0e
Linter change 2023-08-30 12:54:12 -06:00
zandercymatics
560d2c3ac5
Update oidc.py 2023-08-30 12:34:11 -06:00
igorkorenfeld
3a2d9f5ada
Update test to match new content on 500 error 2023-05-08 12:52:39 -04:00
Neil Martinsen-Burrell
e54dda3ddd
Retrieve domain invitations on first login 2023-03-27 16:10:33 -05:00
Neil Martinsen-Burrell
1e77bd9bf6
Fix deprecation warnings 2023-03-27 12:39:58 -05:00
Seamus Johnston
b65f1a63d3
Update post_save to work with Contact 2023-03-07 11:07:20 -06:00
Seamus Johnston
94800bc00a
Fix missing client_id during logout 2022-10-24 17:09:36 -05:00
Seamus Johnston
9b008d6363
Run tests behind logged in pages (#162)
* Redirect admin login to Login.gov

* Add logged in scanning to CI

* Fix bug in LOGIN_URL

* Fix linter and tests

* Address PR feedback

* Try quotes
2022-10-11 11:26:11 -05:00
Seamus Johnston
cc4621ad20
Fix linter errors 2022-09-30 15:10:16 -05:00
Seamus Johnston
828051854e
Address PR feedback 2022-09-30 14:14:43 -05:00
Seamus Johnston
b5ea6c8e39
Fix tests in CI 2022-09-30 08:18:13 -05:00
Seamus Johnston
b25c8f435d
Test OIDC views 2022-09-29 15:06:15 -05:00
Seamus Johnston
f910563d11
Fix linter errors 2022-09-29 11:30:28 -05:00
Seamus Johnston
2f9e16194e
Fix missing .env file 2022-09-23 09:21:26 -05:00
Seamus Johnston
f16d657c6a
Fix linter errors 2022-09-22 15:57:40 -05:00
Seamus Johnston
00f87168e5
Add Login.gov *\o/*
This commit incldues a wrapper application which handles
the Private Key JWT method of authenticating via OpenID
Connect using the underlying pyoidc library.
2022-09-22 15:15:13 -05:00