Kent Daleng
956cda2a40
generate a codeverifier better
2021-08-19 12:02:54 +02:00
Kent Daleng
f94dfc6c1c
add .vscode
2021-08-19 08:36:35 +02:00
Kent Daleng
6d5a14358e
generate a long enough code_verifier
...
idporten wants one at least 43 chars long; a single UUID is 36.. so i smash two together :)
also, this involves grabbing the internals of the function we called earlier and putting it here instead
2021-08-19 08:35:25 +02:00
Kent Daleng
7458ebd5d7
attempt to exchange code on callback
2021-08-18 13:08:23 +02:00
Kent Daleng
b1272ed712
refactor login, use caos/oidc
2021-08-18 11:42:50 +02:00
Kent Daleng
a7eacb3b66
whoops, i meant 8090
2021-08-18 10:19:51 +02:00
Kent Daleng
252306fabc
define port 3000
2021-08-18 10:14:36 +02:00
Kim Tore Jensen
6c9c34244f
configurable oauth2 redirect url parameters
2021-08-18 09:59:44 +02:00
Kent Daleng
5b625769d1
use authorization endpoint from wellknown
2021-08-18 09:46:15 +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
Kent Daleng
f09cfabfdf
add some info about what this app does
2021-08-17 15:53:48 +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
ef7d630d38
enable idporten
2021-08-17 14:04:21 +02:00
Kent Daleng
8776d289f1
add alpine rule
2021-08-17 14:01:42 +02:00
Kent Daleng
accb44925a
add test rule, fix env injections
2021-08-17 14:00:13 +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