WIP: feat/epic-48-replace-dex #20

Draft
faercol wants to merge 7 commits from feat/epic-48-replace-dex into main
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
Some checks failed
/ docker-build-only (push) Failing after 45s
/ go-test (push) Failing after 1m28s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/epic-48-replace-dex:feat/epic-48-replace-dex
git checkout feat/epic-48-replace-dex
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.