a5d918898c
Add azure groups support and oauth2 v2.0
2022-10-21 20:23:21 +03:00
7fe6384f38
Fix Linting Errors ( #1835 )
...
* initial commit: add groups to azure
Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com >
* fix deprecations and linting errors
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* remove groups testing from azure provider
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* fix test error
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* verify-generate
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com >
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
2022-10-21 11:57:51 +01:00
bcadad4c30
Fix method deprecated error in lint ( #1699 )
...
* fix method deprecated error in lint
* Fix logic of testing GetCertPool() method
* fix typo
* improve comment
* Fix typo
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
2022-08-08 23:18:29 +01:00
c6a98369a0
Add description on ipv6 address ( #1635 )
...
* add docs on ipv6
* add tests for ipv6 address
* add tests for ipv6 address
* remove Print function for debugging
* Updated changelog
2022-05-23 10:17:29 +01:00
2b4c8a9846
Add the allowed_email_domains and the allowed_groups on the auth_request endpoint + support standard wildcard char for validation with sub-domain and email-domain.
...
Signed-off-by: Valentin Pichard <github@w3st.fr >
2022-02-14 18:03:20 +01:00
b49e62f9b2
Initalize TLS.Config when connecting to Redis with TLS ( #1296 )
...
* init TLS.Config when connecting to Redis with TLS
* don't overwrite TLS config if it exists
* add tests for Redis with TLS
* remove hardcoded certs
* add GenerateCert func
* use GenerateCert util func
* fix issue reported by go fmt
* limit return statements in GenerateCert
2021-10-19 09:17:42 +01:00
6fb3274ca3
Refactor organization of scope aware request utils
...
Reorganized the structure of the Request Utils due to their widespread use
resulting in circular imports issues (mostly because of middleware & logger).
2021-01-16 13:55:48 -08:00
b625de9490
Track the ReverseProxy option in the request Scope
...
This allows for proper handling of reverse proxy based headers throughout
the lifecycle of a request.
2021-01-16 13:55:48 -08:00
1d74a51cd7
Use X-Forwarded-{Proto,Host,Uri} on redirect as last resort ( #957 )
2021-01-01 15:23:11 -08:00
29b24793e3
Use X-Forwarded-Host consistently
2020-08-31 08:31:45 -07:00
ad52587ae6
Document GoSec nosec skip comments
2020-08-09 07:55:40 -07:00
65c228394f
Address gosec findings
...
Mostly handling unhandled errors appropriately.
If logging to STDERR fails, we panic. Added #nosec
comments to findings we are OK with.
2020-08-09 07:55:39 -07:00
b0375e85fa
Fix #635 : Support specifying alternative provider TLS trust source(s) ( #645 )
...
* Fix #635 : Support specifying alternative provider TLS trust source(s)
* Update pkg/apis/options/options.go
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
* Update pkg/validation/options.go
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
* Address review comments
* upd CHANGELOG.md
* refactor test to assert textual subjects + add openssl gen cmd
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk >
2020-07-03 16:09:17 +01:00