polycule-connect/polyculeconnect/cmd/db
Melora Hugues 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
..
connect.go Chore: remove generated cobra comments and improve help messages 2024-08-10 16:41:55 +02:00
db.go Chore: remove generated cobra comments and improve help messages 2024-08-10 16:41:55 +02:00
destroy.go Chore: remove generated cobra comments and improve help messages 2024-08-10 16:41:55 +02:00
migrate.go Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00