polycule-connect/polyculeconnect
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
..
cmd Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00
config feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
connector feat #43: add service to handle backends in the storage 2023-11-08 19:32:56 +01:00
controller/ui feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
helpers feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
internal Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00
logger feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
migrations Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00
server feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
services feat #44: add CLI commands to manage apps 2023-11-08 19:33:53 +01:00
static feat #7: allow saving the selected backend choice 2024-08-10 15:16:31 +02:00
templates feat #7: allow saving the selected backend choice 2024-08-10 15:16:31 +02:00
go.mod Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00
go.sum Add basic way to get backend from query (#48) 2024-08-16 11:29:19 +02:00
main.go Feat #45: Add CLI commands to manage the DB 2024-08-10 15:24:31 +02:00
Makefile Rename module from template 2023-10-12 20:36:34 +02:00
polyculeconnect.db feat: start replacing dex with zitadel (#48) 2024-08-16 11:29:19 +02:00
robots.txt Add first basic POC 2023-10-14 18:28:01 +02:00