67ce0aec79
Fix envvar config for storage
/ docker-build-only (push) Failing after 35s
/ go-test (push) Failing after 1m3s
2024-10-20 17:31:38 +02:00
f0011e183d
Add refresh token flow ( #42 )
/ docker-build-only (push) Failing after 34s
/ go-test (push) Failing after 1m4s
2024-10-19 16:21:04 +02:00
c741400583
Remove all references to dex in the code ( #42 )
/ docker-build-only (push) Failing after 35s
/ go-test (push) Failing after 1m6s
2024-10-19 14:58:00 +02:00
8d805cefe6
Cleanup DB a bit, and start correctly handling users ( #42 )
/ docker-build-only (push) Failing after 27s
/ go-test (push) Failing after 1m18s
2024-10-18 22:06:05 +02:00
c71e7fa12f
Add login workflow until token generation ( #48 )
/ 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 )
/ docker-build-only (push) Failing after 37s
/ go-test (push) Failing after 1m28s
2024-10-06 22:11:58 +02:00
0bfb02f960
Add some debug logs
2024-10-06 11:28:26 +02:00
9206c8e41e
Add start of auth request storage
/ docker-build-only (push) Failing after 45s
/ go-test (push) Failing after 1m28s
2024-09-22 10:26:27 +02:00
13f65707e7
Init OIDC client on start with config from DB ( #48 )
2024-08-17 14:23:06 +02:00
b0e0a19c97
Replace previous backend service with new storage ( #48 )
/ docker-build-only (push) Failing after 30s
/ go-test (push) Failing after 1m14s
2024-08-16 13:49:59 +02:00
9ba477174d
Allow migrating up and down
/ docker-build-only (push) Failing after 41s
/ go-test (push) Failing after 1m24s
2024-08-16 11:29:19 +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
f3060bee3b
feat: start replacing dex with zitadel ( #48 )
...
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-16 11:29:19 +02:00
344589829b
Chore: remove generated cobra comments and improve help messages
/ docker-build-only (push) Successful in 1m58s
/ go-test (push) Successful in 1m8s
/ docker-build-push (push) Failing after 17s
2024-08-10 16:41:55 +02:00
0fc6a4b093
Allow using config file as well as env variables
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
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
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
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
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