feat/epic-48-replace-dex #20

Merged
faercol merged 20 commits from feat/epic-48-replace-dex into main 2024-10-27 15:16:40 +00:00
Owner
No description provided.
faercol added 3 commits 2024-08-16 09:37:58 +00:00
Start the process of replacing dex with zitadel, this commit is
absolutely not prod-ready, basically we just added zitatel, and the
necessary elements to make it work to at least getting a client from the
DB

- replace logrus with zap
- start our own storage for the users
- instanciate zitaled on start
- allow getting client using the ID from the DB
Because polyculeconnect is a OIDC proxy, we need to know which auth
backend to use. This is provided using a query param or a form, so we
need to get it from our own middleware.

This commit adds the following elements:
 - basic DB storage for the backends
 - support for DB migrations and a first test migration (not definitive)
 - middleware to get the backend from the request and put it in the
   context
 - test that the backend exists in the auth flow
Allow migrating up and down
Some checks failed
/ docker-build-only (push) Failing after 41s
/ go-test (push) Failing after 1m24s
9ba477174d
faercol added 1 commit 2024-08-16 11:50:04 +00:00
Replace previous backend service with new storage (#48)
Some checks failed
/ docker-build-only (push) Failing after 30s
/ go-test (push) Failing after 1m14s
b0e0a19c97
faercol added 2 commits 2024-08-17 13:22:41 +00:00
Add basic support to store auth_requests (#48)
Some checks failed
/ docker-build-only (push) Failing after 29s
/ go-test (push) Failing after 1m15s
741e638c78
faercol added 1 commit 2024-09-22 08:26:29 +00:00
Add start of auth request storage
Some checks failed
/ docker-build-only (push) Failing after 45s
/ go-test (push) Failing after 1m28s
9206c8e41e
faercol added 2 commits 2024-10-06 20:12:04 +00:00
Add login workflow until callback (#48)
Some checks failed
/ docker-build-only (push) Failing after 37s
/ go-test (push) Failing after 1m28s
a0849388a7
faercol added 1 commit 2024-10-15 17:35:18 +00:00
Add login workflow until token generation (#48)
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m20s
c71e7fa12f
faercol added 1 commit 2024-10-16 19:42:43 +00:00
Link userinfo from backend to the clients #48
Some checks failed
/ docker-build-only (push) Failing after 28s
/ go-test (push) Failing after 1m17s
93d7b13928
faercol added 1 commit 2024-10-18 20:06:08 +00:00
Cleanup DB a bit, and start correctly handling users (#42)
Some checks failed
/ docker-build-only (push) Failing after 27s
/ go-test (push) Failing after 1m18s
8d805cefe6
faercol added 1 commit 2024-10-19 12:58:04 +00:00
Remove all references to dex in the code (#42)
Some checks failed
/ docker-build-only (push) Failing after 35s
/ go-test (push) Failing after 1m6s
c741400583
faercol added 2 commits 2024-10-19 14:21:11 +00:00
Add refresh token flow (#42)
Some checks failed
/ docker-build-only (push) Failing after 34s
/ go-test (push) Failing after 1m4s
f0011e183d
faercol added 1 commit 2024-10-20 15:31:44 +00:00
Fix envvar config for storage
Some checks failed
/ docker-build-only (push) Failing after 35s
/ go-test (push) Failing after 1m3s
67ce0aec79
faercol added 1 commit 2024-10-20 16:33:07 +00:00
Fix missing backend selection page
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m1s
157fbad122
faercol added 1 commit 2024-10-20 19:09:03 +00:00
Add consent (#42)
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m1s
e99fabafb9
faercol added 1 commit 2024-10-20 19:20:40 +00:00
Fix remember-me
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m1s
44c13d0185
faercol added 1 commit 2024-10-27 15:11:18 +00:00
Fix unit tests and docker build
All checks were successful
/ go-test (push) Successful in 1m15s
/ docker-build-only (push) Successful in 1m36s
d8023a527e
faercol changed title from WIP: feat/epic-48-replace-dex to feat/epic-48-replace-dex 2024-10-27 15:16:21 +00:00
faercol merged commit d323d21c19 into main 2024-10-27 15:16:40 +00:00
faercol deleted branch feat/epic-48-replace-dex 2024-10-27 15:16:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PolyculeConnect/polycule-connect#20
No description provided.