Commit graph

42 commits

Author SHA1 Message Date
zandercymatics
8b41e70840
Fine tuning 2024-05-09 13:43:32 -06:00
zandercymatics
4c92011279
Add some middleware 2024-05-09 13:04:54 -06:00
zandercymatics
84408fce48
Add perms checks 2024-05-09 12:45:21 -06:00
zandercymatics
2f36033eb2
User setup stuff 2024-05-09 12:13:01 -06:00
zandercymatics
dda620ee4d
Add finished setup flag 2024-05-09 12:09:23 -06:00
zandercymatics
d268ef54b1
Basic setup stuff 2024-05-09 11:42:18 -06:00
zandercymatics
aa9127875a
Refine logic for fixture users 2024-04-22 10:40:21 -06:00
zandercymatics
a047380b59
Fix logic 2024-04-19 15:44:26 -06:00
zandercymatics
3e7f143a1e
Fix verification type 2024-04-19 15:30:37 -06:00
Rachid Mrad
59c8625102
Merge pull request #1916 from cisagov/rjm/1814-401
Issue #1814: Enhance state mismatch error handling and messaging
2024-03-22 18:05:30 -04:00
Rachid Mrad
d04b54a9f9
fix typo 2024-03-19 12:04:46 -04:00
Rachid Mrad
6f8af3f5c3
attempt redirect_attempted pop from session in else clause 2024-03-19 12:03:13 -04:00
zandercymatics
361392ba71
Linting activities 2024-03-18 14:44:27 -06:00
zandercymatics
b4829d650a
Refactor 2024-03-18 12:28:21 -06:00
Rachid Mrad
bdffaca099
formatting 2024-03-15 16:01:42 -04:00
Rachid Mrad
ea43a34dee
Attempt a redirect (once) if there's a state mismatch 2024-03-15 15:34:53 -04:00
David Kennedy
3387ec032b
handle logout when no session is present 2024-02-14 12:09:27 -05:00
David Kennedy
69f6f4db0c
added a debug message when client needs to be re-initialized 2024-02-13 10:37:34 -05:00
David Kennedy
9dff75d392
tests for login_callback 2024-02-09 15:28:03 -05:00
David Kennedy
6820456286
openid tests 2024-02-09 14:25:11 -05:00
David Kennedy
1df7dc48df
oidc error on init logs error; oidc re-inits on request if in error state 2024-02-09 08:35:30 -05:00
David Kennedy
2a676260c6
health check to /health, updated testing of /health, cleaned up extraneous debug logging 2024-02-07 13:08:26 -05:00
David Kennedy
80ca25339d
debugging for oidc 2024-02-06 20:34:57 -05:00
Rachid Mrad
3f8e5ce204
Revisions on model 2024-01-23 18:15:56 -05:00
Rachid Mrad
510da21934
Implement VIP table and fix 401 login bug 2024-01-18 19:58:53 -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
a6ae9ad74e
fixed tests for djangooidc 2023-12-08 11:05:07 -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
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
Seamus Johnston
94800bc00a
Fix missing client_id during logout 2022-10-24 17:09:36 -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
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