fb24320552
role added to configuration
2023-11-06 22:25:00 +01:00
5828a9a5a2
debugging for analyzing token
2023-11-06 18:15:03 +01:00
hesstobi
6c6f75e80d
Make listen port configurable ( #230 )
...
Co-authored-by: Tobias Hess <tobias.hess@energiekoppler.com>
2021-02-01 20:10:50 +00:00
Thom Seddon
04f5499f0b
Allow override of domains and whitelist in rules ( #169 )
...
Co-authored-by: Mathieu Cantin <mcantin@petalmd.com>
Co-authored-by: Pete Shaw <lozlow@users.noreply.github.com>
2020-09-23 14:50:15 +01:00
Thom Seddon
9e5994b959
Add Generic OAuth Provider ( #138 )
2020-06-29 21:04:42 +01:00
Thom Seddon
fb8b216481
Optionally match emails against *either* whitelist or domains when both are provided ( #106 )
...
The previous behaviour would ignore domains if the whitelist parameter was provided, however if both parameters are provided then matching either is more likely the intent.
2020-06-03 14:11:59 +01:00
Thom Seddon
8b3a950162
Add logout endpoint ( #107 )
...
Add logout endpoint that clears the auth cookie + optional "logout-redirect" config option, to which, when set, the user will be redirected.
2020-06-03 14:00:47 +01:00
Thom Seddon
7381450015
Improve internal function docs
2020-05-11 14:42:33 +01:00
Pierre Kisters
c3b4ba8244
Allow multiple cookie domains, domains and whitelists with environment variable ( #98 )
...
* comma env-delim for array flags
* tests for env-delim flags
2020-04-14 07:48:55 +01:00
Thom Seddon
3652a0b244
Add OIDC docs + examples
2020-02-10 17:09:09 +00:00
Thom Seddon
5a9c6adedf
Multiple provider support + OIDC provider
2020-02-10 17:09:09 +00:00
Thom Seddon
a99330e6b2
Fix typos
2019-09-30 10:44:46 +01:00
Sandro
5a676f3068
Fix rules argument ( #71 )
2019-09-20 16:28:11 +01:00
Thom Seddon
3e92400202
Fix backwards compat on "domain" config + remove "domains" config
...
Fixes #48
2019-06-11 13:14:29 +01:00
Thom Seddon
d33ecc0654
Make rule parsing more robust
...
- check args length before popping
- ensure rule has name
2019-06-10 11:38:50 +01:00
Thom Seddon
41a3f2a5a9
Fix missing client id/secret log message
2019-06-10 11:24:14 +01:00
Thom Seddon
5a17187855
Fix go-flags dep + formatting
2019-05-13 11:56:43 +01:00
Thom Seddon
a4a34dcd76
Handle unknown ini options
2019-05-07 19:17:42 +01:00
Thom Seddon
d1b12e4ffb
Fix host/method rule matching + tests
2019-05-07 14:16:38 +01:00
Thom Seddon
6f3ac5efe5
pre-release logging + docs improvements and fixes
2019-05-07 12:05:47 +01:00
Thom Seddon
8f6e911045
Backwards compatability fixes
2019-04-23 19:16:24 +01:00
Thom Seddon
fa61c84373
Fix, improve + test google provider initiation
2019-04-23 18:48:18 +01:00
Thom Seddon
3cc9cd13e1
Update option descriptions + prefer multiple singular options
...
Plus backwards compatability for legacy comma separated list options
2019-04-23 18:26:56 +01:00
Thom Seddon
93912f4a6e
Overhaul testing to use testify
2019-04-23 17:49:16 +01:00
Thom Seddon
6968f6181b
Add more v2 tests + fixes + improve legacy config parsing
2019-04-18 16:37:41 +01:00
Thom Seddon
5597b7268b
Use new rule config + tidy ups
2019-04-18 16:37:41 +01:00
Thom Seddon
9abe509f66
Refactor progress
...
- move directory structure
- string based rule definition
- use traefik rule parsing
- drop toml config
- new flag library
- implement go dep
2019-04-18 16:37:55 +01:00