Commit Graph

18 Commits

Author SHA1 Message Date
Trong Huu Nguyen
03a14eb2bd refactor: clean up id_token validation 2021-08-25 08:22:34 +02:00
Kim Tore Jensen
f414470910 support entering encryption key as environment variable 2021-08-24 15:46:55 +02:00
Kim Tore Jensen
097f4fd5b2 make redis support configurable 2021-08-24 13:07:57 +02:00
Kim Tore Jensen
55f26fb54c incorporate new session storage code 2021-08-24 12:58:16 +02:00
Kim Tore Jensen
764adc3d77 wip: tests for authorize 2021-08-23 14:39:48 +02:00
Kent Daleng
d2a3db75c2 refactor cookie handling 2021-08-23 13:11:50 +02:00
Kim Tore Jensen
1d36b8e6a3 code restructuring 2021-08-23 11:17:30 +02:00
Trong Huu Nguyen
f36848babe feat: validate id_token in auth code flow
Co-authored-by: Kent Daleng <kent.daleng@nav.no>
2021-08-23 09:59:15 +02:00
Kim Tore Jensen
9722c17eb5 route requests to upstream host 2021-08-20 12:22:17 +02:00
Kim Tore Jensen
c9668986a6 encrypt cookies and store access tokens in-memory with browser session 2021-08-19 15:25:39 +02:00
Kim Tore Jensen
8baa18281d remove caos/oidc as dependency 2021-08-19 14:25:55 +02:00
Kent Daleng
8815ffb34b wip: callback function 2021-08-19 14:05:21 +02:00
Kent Daleng
b1272ed712 refactor login, use caos/oidc 2021-08-18 11:42:50 +02:00
Kent Daleng
3784006e99 fetch well-known config from remote and store it in runtime config 2021-08-18 07:46:09 +02:00
Kim Tore Jensen
2b5206fdff run a webserver and supply a non-working login redirect uri 2021-08-17 15:31:03 +02:00
Kent Daleng
1177ef1210 implement config and logging 2021-08-17 14:30:34 +02:00
Kent Daleng
18b9d43545 use ci 2021-08-17 13:57:06 +02:00
Kent Daleng
1aec4cd36a initial commit 2021-08-17 13:39:10 +02:00