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
f53b67fa81
Chore: replace woodpecker with forgejo actions
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
51f9be1486
feat #7 : allow saving the selected backend choice
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2024-08-10 15:16:31 +02:00
a5f2d430e1
fix: add missing parameters to create app from cli
2024-08-10 15:16:31 +02:00
773a659c3e
fix: set correct default value for issuer
2024-08-10 15:16:31 +02:00
9719eefed4
Fix unit tests
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2024-05-28 20:18:41 +02:00
143196d737
Add new CI badge
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
2024-05-26 22:27:26 +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
088f4faf82
fix: allow setting the issuer from environment variables
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
550622e512
feat #43 : add service to handle backends in the storage
2023-11-08 19:32:56 +01:00
e4497cad8c
Add envrc to facilitate development
2023-11-08 19:32:56 +01:00
137789e2a1
Fix docker image not compatible with non static compilation
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-11-04 17:59:34 +01:00
2e34244fcf
feat #41 : add cobra and make the server use it
2023-11-04 17:59:34 +01:00
673eaeb10d
feat #34 : add error UI
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-11-04 09:31:29 +01:00
d18c91da23
feat #32 : improve approval UI
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
2023-11-04 09:18:34 +01:00
0083624204
feat #6 : Add style for auth page
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/deploy unknown status
2023-11-04 09:01:26 +01:00
fd8caf98a6
feat #6 : Add logo to all page headers
2023-11-04 09:01:26 +01:00
4909df4b04
feat #37 : Use environment variables for most of the configuration
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-10-28 14:20:40 +02:00
3bc17d6aba
feat #35 : Add sqlite3 storage backend
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-10-22 22:02:54 +02:00
e00347d96f
fix: correct ci definition for woodpecker
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2023-10-22 14:18:11 +02:00
a82c12fc93
chore: add vscode to gitignore
2023-10-22 14:18:11 +02:00
554d9bccc4
chore: drop drone support
2023-10-22 14:18:11 +02:00
ccb417ad6a
feat #4 : add storage config in config file
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-10-22 13:56:32 +02:00
7b1150c00b
added woodpecker support
continuous-integration/drone/push Build is passing
ci/woodpecker/push/woodpecker Pipeline failed
2023-10-22 10:24:42 +02:00
8852e3de52
fix page title
continuous-integration/drone/push Build is passing
2023-10-21 22:16:42 +02:00
0b0fc6f129
feat #6 : add logo to project and favicon
2023-10-21 22:16:42 +02:00
8e2b9b859a
feat #31 : add mock connector
continuous-integration/drone/push Build is passing
2023-10-21 22:13:15 +02:00
7a52957e1e
chore: add license file
continuous-integration/drone/push Build is passing
2023-10-21 21:24:35 +02:00
e393bbf1cc
Don't build arm images for now
continuous-integration/drone/push Build is passing
2023-10-19 19:24:20 +02:00
4b92dd31bc
Add docker push on CI
continuous-integration/drone/push Build is failing
2023-10-19 19:01:03 +02:00
bb9f3e68d9
Add instructions on readme
continuous-integration/drone/push Build is failing
2023-10-19 18:57:14 +02:00
4c3a0c648e
Fix dockerfile and add compose
continuous-integration/drone/push Build is passing
2023-10-19 18:33:46 +02:00
3281d109f7
Add client approval flow
continuous-integration/drone/push Build is passing
2023-10-17 17:42:22 +02:00
1e8b9ef161
Set correct login flow
continuous-integration/drone/push Build is passing
2023-10-15 20:11:50 +02:00
20fde2335e
Improve response logger and fix '/' route
continuous-integration/drone/push Build is passing
2023-10-15 17:49:33 +02:00
4507728dae
Add first basic POC
continuous-integration/drone/push Build is passing
2023-10-14 18:28:01 +02:00
e75a4d4607
Rename module from template
2023-10-12 20:36:34 +02:00
221afdb9b2
Initial commit
2023-10-11 09:55:28 +02:00