Commit graph

12 commits

Author SHA1 Message Date
c81eeef4b2 Allow migrating up and down
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
2024-08-16 11:28:32 +02:00
d5aa640df0 Add basic way to get backend from query (#48)
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
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
ce8bd4ee7c feat: start replacing dex with zitadel (#48)
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
Start the process of replacing dex with zitadel, this commit is
absolutely not prod-ready, basically we just added zitatel, and the
necessary elements to make it work to at least getting a client from the
DB

- replace logrus with zap
- start our own storage for the users
- instanciate zitaled on start
- allow getting client using the ID from the DB
2024-08-15 18:25:15 +02:00
0fc6a4b093 Allow using config file as well as env variables
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2024-08-10 15:46:16 +02:00
94a5fbfc51 Feat #45: Add CLI commands to manage the DB
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2024-08-10 15:24:31 +02:00
a5f2d430e1 fix: add missing parameters to create app from cli 2024-08-10 15:16:31 +02:00
9cf1428517 fix: allow setting base path for static files 2024-05-08 16:07:40 +02:00
db665a30fa fix: allow setting client/secret id for a new backend
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
2024-01-03 17:32:58 +01:00
c8958a8f44 feat #44: add CLI commands to manage apps
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-11-08 19:33:53 +01:00
9d2d49425d chore: refactor serve command
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-11-08 19:32:56 +01:00
69a07ce076 feat #43: add cli command to manage backends 2023-11-08 19:32:56 +01:00
2e34244fcf feat #41: add cobra and make the server use it 2023-11-04 17:59:34 +01:00