Commit graph

7 commits

Author SHA1 Message Date
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
93d7b13928 Link userinfo from backend to the clients #48
Some checks failed
/ docker-build-only (push) Failing after 28s
/ go-test (push) Failing after 1m17s
2024-10-16 21:42:39 +02:00
c71e7fa12f Add login workflow until token generation (#48)
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m20s
2024-10-15 19:35:14 +02:00
a0849388a7 Add login workflow until callback (#48)
Some checks failed
/ docker-build-only (push) Failing after 37s
/ go-test (push) Failing after 1m28s
2024-10-06 22:11:58 +02:00
9206c8e41e Add start of auth request storage
Some checks failed
/ docker-build-only (push) Failing after 45s
/ go-test (push) Failing after 1m28s
2024-09-22 10:26:27 +02:00
b0e0a19c97 Replace previous backend service with new storage (#48)
Some checks failed
/ docker-build-only (push) Failing after 30s
/ go-test (push) Failing after 1m14s
2024-08-16 13:49:59 +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