Trong Huu Nguyen
f830ff575c
docs: clarify session refresh cooldown mechanism
2022-09-08 16:42:11 +02:00
Trong Huu Nguyen
619ae52d45
refactor: separate refresh-specific fields from session info; enable endpoint without refresh feature
2022-09-01 19:35:48 +02:00
Trong Huu Nguyen
06b71cf56d
docs: clarify endpoint usage, add notes on session management and refresh tokens
2022-09-01 19:33:22 +02:00
Trong Huu Nguyen
d5bbca9897
feat: rudimentary support for refresh tokens
2022-08-26 14:32:39 +02:00
Trong Huu Nguyen
5a50ba7c3a
feat: support multiple ingresses
...
Replace hardcoded callback URLs with dynamic generation
of URLs based on incoming requests. These are validated against
a pre-registered list of ingresses for which Wonderwall is considered
authorative for.
We also preserve the cookie behaviour; the most specific ingress path
and domain is used for the cookies.
The `url` package has been moved to the `handler` package, and its
implementation refactored slightly for readability and DRY.
2022-08-17 20:43:56 +02:00
Trong Huu Nguyen
ea5b7701a9
deps: bump to go 1.19
2022-08-10 13:12:56 +02:00
Trong Huu Nguyen
4646c36b74
refactor(autologin): skip -> ignore
2022-07-21 12:50:55 +02:00
Trong Huu Nguyen
d79f31c18d
refactor(autologin): use glob-style matching instead of regex
...
Regexes are powerful, but completely overkill and error-prone for this
use-case. So instead, we'll use path.Match with its simpler glob-style
patterns.
2022-07-21 12:01:30 +02:00
Trong Huu Nguyen
124aff9f08
docs: note some gotchas for the docker compose setup [ci skip]
2022-07-21 08:37:55 +02:00
Trong Huu Nguyen
655ff8dd2c
docs: update docker-compose setup
2022-07-19 13:11:57 +02:00
Trong Huu Nguyen
4ab07e9dc2
refactor: clean up logging
2022-07-19 08:39:02 +02:00
Trong Huu Nguyen
ef649e7aaa
feat: add allowlisting of paths for autologin
2022-07-17 20:11:55 +02:00
Trong Huu Nguyen
32dd80b5da
feat: add handler for logout callbacks
2022-05-10 08:52:07 +02:00
Trong Huu Nguyen
40a4c8a02c
docs: minor cleanups, add overview with diagrams
2022-05-04 15:54:45 +02:00
Trong Huu Nguyen
6a4a268e15
docs: update available flags
2022-02-03 11:41:41 +01:00
Trong Huu Nguyen
1b4ce5cab7
Revert "Revert "refactor: infer redirect URI from configured ingress""
...
This reverts commit 8cf9d22324 .
2021-10-18 14:12:41 +02:00
Trong Huu Nguyen
8cf9d22324
Revert "refactor: infer redirect URI from configured ingress"
...
This reverts commit 5f0b0df7cf .
2021-10-18 14:06:10 +02:00
Trong Huu Nguyen
5f0b0df7cf
refactor: infer redirect URI from configured ingress
2021-10-18 11:26:55 +02:00
Trong Huu Nguyen
be585f9902
refactor: simplify config for acr_values and ui_locales; validate on startup
2021-10-17 20:24:34 +02:00
Trong Huu Nguyen
1d92df8284
docs: clean up, describe new configs and azure support
2021-10-16 12:46:26 +02:00
Trong Huu Nguyen
11f860d5dd
docs: write an actual readme
...
Co-Authored-By: Morten Lied Johansen <morten.lied.johansen@nav.no >
Co-Authored-By: Sindre Rødseth Hansen <sindre.rodseth.hansen@nav.no >
2021-09-29 09:38:52 +02:00
Kent Daleng
f09cfabfdf
add some info about what this app does
2021-08-17 15:53:48 +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