19 Commits
Author SHA1 Message Date
Maksim NabokikhandGitHub 47e84dba69 feat(connector): add compile-time checks for connector interfaces (#4591)
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2026-02-26 16:43:17 +01:00
Mathias GebbeandGitHub 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>
2026-02-26 16:09:07 +01:00
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>
2025-08-05 23:02:06 +02:00
Oleksandr RedkoandGitHub 9891daa585 refactor: simplify tests by using slog.DiscardHandler (#4058)
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
2025-04-03 09:56:18 +02:00
Kot CandGitHub 95388bb27a Add authproxy preferred_username header (#3950)
Signed-off-by: Kot <kot@yukata.dev>
2025-02-01 18:15:07 +01:00
Sean LiaoandGitHub 0b6a78397e use slog for structured logging (#3502)
Signed-off-by: Sean Liao <sean+git@liao.dev>
2024-06-01 20:15:58 +04:00
Patrick PacherandGitHub 8e07edc188 Also set the username in authproxy connector (#3307)
Signed-off-by: Patrick Pacher <patrick.pacher@gmail.com>
2024-01-26 22:18:08 +01:00
Matt PryorandGitHub 366e53c1b6 Add support for extra claims to authproxy connector (#2851)
Signed-off-by: Matt Pryor <matt@stackhpc.com>
2023-12-28 11:17:13 +01:00
Marcelo ClavelandGitHub 29b3523e07 feat(connector/authproxy): support multiple groups (#2643)
Signed-off-by: Marcelo Clavel <mclavel00@gmail.com>
2022-09-01 15:46:24 +04:00
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>
2022-01-31 10:36:54 +01:00
Thierry SalléandMárk Sági-Kazár 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>
2020-12-17 16:50:00 +01:00
seuf a1c7198738 Rename config header to userHeader
Signed-off-by: seuf <seuf76@gmail.com>
2020-12-17 16:50:00 +01:00
seuf f19bccfc92 Allow configuration of groups for authproxy
Signed-off-by: seuf <seuf76@gmail.com>
2020-12-17 16:50:00 +01:00
seuf a12a919d3e Allow configuration of returned auth proxy header
Signed-off-by: seuf <seuf76@gmail.com>
2020-12-17 16:50:00 +01:00
m.nabokikh 1d83e4749d Add gocritic
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2020-10-18 01:54:27 +04:00
Mark Sagi-Kazar be581fa7ff Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
Stephan Renatus b9f6594bf0 *: github.com/coreos/dex -> github.com/dexidp/dex
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-09-05 17:57:08 +02:00
Eric Chiang d099145921 authproxy: update docs and set a userID 2017-10-26 10:47:16 -07:00
Michael Stapelberg a41d93db4a Implement the “authproxy” connector (for Apache2 mod_auth etc.) 2017-10-25 21:53:51 +02:00