polycule-connect/polyculeconnect/cmd
Melora Hugues d5aa640df0
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
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:02:44 +02:00
..
app fix: add missing parameters to create app from cli 2024-08-10 15:16:31 +02:00
backend fix: allow setting client/secret id for a new backend 2024-01-03 17:32:58 +01:00
db Add basic way to get backend from query (#48) 2024-08-16 11:02:44 +02:00
serve Add basic way to get backend from query (#48) 2024-08-16 11:02:44 +02:00
utils feat #43: add cli command to manage backends 2023-11-08 19:32:56 +01:00
root.go feat #43: add cli command to manage backends 2023-11-08 19:32:56 +01:00