34 Commits

Author SHA1 Message Date
Alex Tugarev
1f31c2111d [papi] add iam-api dependency
go mod tidy
2023-01-13 17:37:21 +01:00
Alex Tugarev
83a51a8b97 [iam] remove demo client config 2023-01-12 12:51:51 +01:00
Alex Tugarev
db16141d8c [iam] (actually) don't fail if test config is missing 2023-01-10 14:34:49 +01:00
Alex Tugarev
301547dbc1 [iam] try to fix flaky test
starting test server after usage_test.go
2023-01-09 17:42:48 +01:00
Alex Tugarev
d1bf1b90b4 [iam] select config by ID on /start 2023-01-09 13:54:48 +01:00
Alex Tugarev
a932271557 [iam] refactor start and callback client config
this provides with better error reporting.
2023-01-09 13:08:48 +01:00
Alex Tugarev
a4134e1539 [iam] don't fail if test config is missing 2023-01-06 09:35:45 +01:00
Milan Pavlik
17c1def31a [iam] Add Get OIDC Client Config RPC 2023-01-06 09:06:45 +01:00
Alex Tugarev
e000015d9b [iam] call server to create new session 2023-01-06 08:26:45 +01:00
Milan Pavlik
6fc1a75102 [iam] Implement COIDC CreateClientConfig RPC 2023-01-05 11:51:45 +01:00
Milan Pavlik
4500032f7f [iam] Add unimplemented CreateOIDCConfig RPC 2023-01-03 12:47:42 +01:00
Milan Pavlik
e282f5a165 [iam] Bind OIDC Client config service 2022-12-27 09:10:36 +01:00
Victor Nogueira
119badcf19 Fix License filename in headers (License-AGPL.txt -> License.AGPL.txt) 2022-12-22 10:02:31 -03:00
Milan Pavlik
676299aad2 [iam] Read db encryption keys on component startup 2022-12-22 08:16:31 -03:00
Milan Pavlik
a9b409aa83 [iam] Setup connection to db 2022-12-21 10:06:31 -03:00
Alex Tugarev
8e537d563b Remove left over Logger.SetLevel 2022-12-21 08:12:30 -03:00
Alex Tugarev
7dec0a10c7 [iam] set Cookie.Secure attribute uncondionally 2022-12-21 08:12:30 -03:00
Alex Tugarev
dc573dad09 [iam] redirect on successful OIDC flow 2022-12-21 08:12:30 -03:00
Alex Tugarev
a95f231dda [iam] encode payload into state param
first iteration: using base64 encoding
2022-12-21 08:12:30 -03:00
Alex Tugarev
ba93d0751d [iam] use error wrapping 2022-12-21 08:12:30 -03:00
Alex Tugarev
b141b7d34e [iam] misc improvements to server.go
* loading test config should not cause a crash on error
* explicit root router registration
   * decoupled mount of `/oidc` router
2022-12-21 08:12:30 -03:00
Alex Tugarev
5ddf04aea3 [iam] add helper to deal with middleware context 2022-12-21 08:12:30 -03:00
Alex Tugarev
68c258545d [iam] more renamings 2022-12-21 08:12:30 -03:00
Milan Pavlik
33b135fac7 [iam] Drop OIDC prefix from service, remove unused handler 2022-12-20 05:03:29 -03:00
Milan Pavlik
4aacec9e26 [oidc] Cleanup registration of route handlers 2022-12-19 08:30:28 -03:00
Milan Pavlik
32b2674c34 [iam] Do not log at Trace level 2022-12-19 08:07:28 -03:00
JenTing Hsiao
0953d74081 Run leeway run components:update-go-modules
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-12-19 05:20:28 -03:00
Alex Tugarev
46c2a8a169 [iam] add basic OIDC client 2022-12-16 09:50:25 -03:00
Alex Tugarev
a51c8b662e 🧹 fix typo and copy-paste-error 2022-12-15 09:46:24 -03:00
Milan Pavlik
6d52267ce6 [iam] Mount database secret as a file 2022-12-14 04:49:24 -03:00
Milan Pavlik
16e82f1e54 leeway 2022-12-13 11:20:23 -03:00
Milan Pavlik
5f46802da6 [iam] Setup chi mux for routing 2022-12-12 11:34:22 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Alex Tugarev
ce8e4f9c12 [IAM] add component skeleton 2022-12-01 08:28:00 -03:00