64 Commits

Author SHA1 Message Date
Thom Seddon
3652a0b244 Add OIDC docs + examples v2.1.0 2020-02-10 17:09:09 +00:00
Thom Seddon
68c329901a Update go1.12 -> go1.13 + update dependencies + mod tidy 2020-02-10 17:09:09 +00:00
Thom Seddon
ffa5afbf22 Simplify oauth server testing 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
5dfd4f2878 Add arm builds. Fixes #38 2019-09-30 10:53:01 +01: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
3e6ccc8f45 Redirect to login on cookie expiry + simplify ValidateCookie function
Possible fix for #31
2019-06-13 15:13:52 +01:00
Thom Seddon
3e92400202 Fix backwards compat on "domain" config + remove "domains" config
Fixes #48
v2.0.1
2019-06-11 13:14:29 +01:00
Thom Seddon
72fc88a82b Add extra tests for env var backwards compat 2019-06-11 10:08:47 +01:00
Thom Seddon
2c148d3a23 Add releases info to README v2.0.0 2019-06-10 12:19:53 +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 v2.0.0-rc3 2019-05-13 11:56:43 +01:00
Thom Seddon
e7b567bc92 Fix typos. Inspired by #43 2019-05-13 11:27:31 +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
b0e4b6333d Use updated go-flags version for env-namespace support
+ fix docs
2019-05-07 10:39:29 +01:00
Thom Seddon
dd13f42ddf Update README + examples for v2 2019-04-24 10:09:35 +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
2074bc7727 Import f1ba9b5 v2.0.0-beta2 2019-04-18 16:37:41 +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
e057f2d63a Improve qsdiff error reporting 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
Thom Seddon
d51b93d4b0 Begin refactor + selective auth 2019-04-18 16:37:41 +01:00
Thom Seddon
f1ba9b5ac4 Update default request logger to include original source IP 2019-04-18 16:05:03 +01:00
Thom Seddon
5c800a0170 Remove old logger from tests 0.1.1 v0.1.1 2019-01-22 14:19:17 +00:00
Thom Seddon
b1fdcc7f56 Fix travis build 2019-01-22 13:55:49 +00:00
Thom Seddon
db31b09a72 Add report card to README 2019-01-22 13:12:25 +00:00
Thom Seddon
e1d518db11 Minor logging + comment fix 2019-01-22 13:10:03 +00:00
Thom Seddon
67339ae79a Include logrus in docker build 2019-01-22 12:59:29 +00:00
Thom Seddon
0b2889935e Log all request headers at debug level 2019-01-22 12:58:24 +00:00
Thom Seddon
b3b31e2193 Refactor logging
Fixes #18
2019-01-22 12:46:58 +00:00
Thom Seddon
1a3a099ac1 use gofmt to simplify code 2019-01-22 10:51:41 +00:00
Thom Seddon
afd8878188 use gofmt to update styling 2019-01-22 10:50:55 +00:00
Thom Seddon
6ccd1c6dfc Add documentation for X-Forwarded-User 2018-12-10 12:48:45 +00:00
Thom Seddon
df81be1147 Pass on authenticated user via X-Forwarded-User header
Fixes #13
2018-12-10 12:44:13 +00:00
Thom Seddon
5dcf889efe
Merge pull request #16 from nicoulaj/patch-1
Fix some typos in logs
2018-12-04 13:32:36 +00:00
nicoulaj
92d72dcdd2
Fix some typos in logs 2018-12-02 19:09:49 +01:00
Thom Seddon
4c1874b786 add auth host example + update examples 2018-11-06 14:45:56 +00:00
Thom Seddon
dcf4f6574d remove direct mode + add example development compose 2018-11-06 14:17:40 +00:00
Thom Seddon
91775ff0a8 Merge branch 'lammensj-whitelist' 2018-11-06 14:04:07 +00:00
Thom Seddon
1832672f5e Modify whitelist implementation + expand docs
Closes #4
2018-11-06 14:02:18 +00:00
Jasper Lammens
eaad0a9054 Allow a whitelist of email addresses 2018-11-06 14:02:18 +00:00
Mathieu Cantin
36fffd2382 Fix demo config
COOKIE_SECRET was renamed SECRET
2018-11-06 14:02:18 +00:00