Maksim Nabokikh
47e84dba69
feat(connector): add compile-time checks for connector interfaces ( #4591 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
3 weeks ago
Mathias Gebbe
44e27490be
fix(connector): update authproxy and oauth to match CallbackConnector interface ( #4589 )
...
The PKCE support added in v2.45.0 changed the CallbackConnector interface
signatures but missed updating the authproxy and oauth connectors. This
caused a type assertion failure in handleConnectorLogin(), resulting in
"Requested resource does not exist" errors when using these connectors.
Update LoginURL to return (string, []byte, error) and HandleCallback to
accept a []byte connData parameter for both connectors and their tests.
Signed-off-by: Mathias Gebbe <mathias.gebbe@gmail.com>
3 weeks ago
Alex B
c121d47506
authproxy connector: add support for specifying group header separator ( #3745 )
...
Signed-off-by: a-buck <5923598+a-buck@users.noreply.github.com>
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
Co-authored-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
Co-authored-by: Maksim Nabokikh <max.nabokih@gmail.com>
7 months ago
Oleksandr Redko
9891daa585
refactor: simplify tests by using slog.DiscardHandler ( #4058 )
...
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
12 months ago
Kot C
95388bb27a
Add authproxy preferred_username header ( #3950 )
...
Signed-off-by: Kot <kot@yukata.dev>
1 year ago
Sean Liao
0b6a78397e
use slog for structured logging ( #3502 )
...
Signed-off-by: Sean Liao <sean+git@liao.dev>
2 years ago
Patrick Pacher
8e07edc188
Also set the username in authproxy connector ( #3307 )
...
Signed-off-by: Patrick Pacher <patrick.pacher@gmail.com>
2 years ago
Matt Pryor
366e53c1b6
Add support for extra claims to authproxy connector ( #2851 )
...
Signed-off-by: Matt Pryor <matt@stackhpc.com>
2 years ago
Marcelo Clavel
29b3523e07
feat(connector/authproxy): support multiple groups ( #2643 )
...
Signed-off-by: Marcelo Clavel <mclavel00@gmail.com>
4 years ago
seuf
4ee9658dfe
[authproxy] Allow configuration of returned groups
...
Via HTTP Header if present and with manually configured staticGroups in authproxy connector
Signed-off-by: seuf <seuf76@gmail.com>
4 years ago
Thierry Sallé
e164bb381e
Apply suggestions from code review
...
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
Signed-off-by: seuf <seuf76@gmail.com>
5 years ago
seuf
a1c7198738
Rename config header to userHeader
...
Signed-off-by: seuf <seuf76@gmail.com>
5 years ago
seuf
f19bccfc92
Allow configuration of groups for authproxy
...
Signed-off-by: seuf <seuf76@gmail.com>
5 years ago
seuf
a12a919d3e
Allow configuration of returned auth proxy header
...
Signed-off-by: seuf <seuf76@gmail.com>
5 years ago
m.nabokikh
1d83e4749d
Add gocritic
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
5 years ago
Mark Sagi-Kazar
be581fa7ff
Add logger interface and stop relying on Logrus directly
7 years ago
Stephan Renatus
b9f6594bf0
*: github.com/coreos/dex -> github.com/dexidp/dex
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
8 years ago
Eric Chiang
d099145921
authproxy: update docs and set a userID
9 years ago
Michael Stapelberg
a41d93db4a
Implement the “authproxy” connector (for Apache2 mod_auth etc.)
9 years ago