Commit graph

4 commits

Author SHA1 Message Date
c741400583 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
2024-10-19 14:58:00 +02:00
8d805cefe6 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
2024-10-18 22:06:05 +02:00
0bfb02f960 Add some debug logs 2024-10-06 11:28:26 +02:00
64e48a5689 Add basic way to get backend from query (#48)
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
2024-08-16 11:29:19 +02:00