Commit Graph
376 Commits
Author SHA1 Message Date
Mark Sagi-Kazar 26accba6b1 ci: update linter
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-08-18 14:21:00 +02: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
Mathias PetermannandGitHub f7d34b2b0f feat: Add ModifyGroupNames claimMutation to oidc connector (#4144)
Signed-off-by: Mathias Petermann <mathias.petermann@swisscom.com>
2025-07-18 13:46:32 +02:00
Vasily MaryutenkovandGitHub 67b4228595 [oidc] pass httpClient to the TokenIdentity context (#4223)
Signed-off-by: Vasily Maryutenkov <vasily.maryutenkov@flant.com>
2025-07-18 10:29:53 +02:00
EthanDieterichandGitHub 7208747072 Add LDAP parent groups search, Active Directory Hierarchy (#4113)
This commit enables universal nested group search support across a
variety of LDAP server implementations.  It updates the code to allow
recursive group membership discovery during user authentication and
provides CI tests to validate the functionality.

Based on @paroque’s original https://github.com/dexidp/dex/pull/1058
PR.

- Removed `Recursive` boolean flag from config and logic
- Made recursion behavior dependant on presence of `RecursionGroupAttr`
- Updated log messages to reflect changes and follow `slog` structured format

Signed-off-by: Ethan Dieterich <ethandieterich@gmail.com>
2025-06-21 12:08:11 +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
Mark Sagi-Kazar c7fd9620aa chore: fix linter config and violations
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-01-09 15:29:22 +01:00
Melroy DsouzaandGitHub 8b93966357 Support for IssuerAlias and groups as maps (#3676)
Signed-off-by: Melroy Dsouza <meldsza@gmail.com>
2024-10-31 11:05:22 +01:00
3e00d33449 GitLab connector: add GitLab additional group with role (#2941)
Signed-off-by: zvlb <vl.zemtsov@gmail.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>
2024-10-24 22:18:24 +02:00
siarhei-haurylauandGitHub fe08a08923 saml connector: fix nil pointer on validate saml (#3793)
Signed-off-by: Siarhei Haurylau <siarhei.haurylau@point-devel.com>
2024-10-14 15:33:59 +02:00
Maksim NabokikhandGitHub d2928d394b Fix scheme for DialURL ldap connection (#3677)
* Use scheme without :// suffix
* Make test ldap server listen on custom ports to avoid stepping into go-ldap defaults

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-08-06 07:57:51 +02:00
Maksim NabokikhandGitHub 07a42839a3 Fix logger.Warnf error after merging 3661 (#3668)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-08-02 14:29:24 +02:00
Márk Sági-KazárandGitHub 6ceb26509b Merge pull request #3063 from jacksonargo/oidc-group-regex
add regex for oidc group matching
2024-08-01 11:04:25 +02:00
Maksim NabokikhandGitHub 63f4410ac1 Update dependencies before Dex v2.41 (#3637)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-07-26 08:37:56 +02:00
Jack WarrenandGitHub 849d601e4a Pass ctx with http.Client to verifier for OIDC connector (#3641)
Signed-off-by: Jack Warren <jack@jackwarren.info>
2024-07-24 07:48:47 +02:00
Mathew WicksandGitHub fb20f3fa32 fix: always retrieve github emails when preferredEmailDomain is set (#3584)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-07-15 20:18:26 +02:00
Doug GoldsteinandGitHub f3ef7d46df feat: allow domain names or IDs in keystone connector (#3506)
OpenStack Keystone allows a user to authenticate against a domain. That
domain can be specified either as the domain ID or the domain name when
authenticating. The domain ID is a UUID or the special "default" domain
ID so key off of that when deciding what to submit to the keystone API.
Collapsed the code to share the domainKeystone struct by utilizing
omitempty to skip unset fields.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2024-06-03 02:56:53 +02: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
sohgauraandGitHub 064a409443 OIDC connector option to override jwksURI (#3543)
Signed-off-by: sohgaura <tiwari.dk1@gmail.com>
Signed-off-by: sohgaura <31881670+sohgaura@users.noreply.github.com>
2024-05-31 17:15:59 +02:00
b0575946b1 Google: Implement groups fetch by default service account from metadata (support for GKE workload identity) (#2989)
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
Co-authored-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2024-05-29 12:00:57 +02:00
mountcountandGitHub c6fa45568b chore: fix function names in comment (#3464)
Signed-off-by: mountcount <cuimoman@outlook.com>
2024-05-13 20:33:13 +02:00
677ab36020 feat: Add support for configurable prompt type for Google connector (#3475)
Signed-off-by: abhisek <abhisek.datta@gmail.com>
Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
Co-authored-by: Maksim Nabokikh <max.nabokih@gmail.com>
2024-04-15 19:11:09 +02:00
Maksim NabokikhandGitHub 3705207f01 Do not escape password for LDAP connectors (#3470)
With the change introduced in https://github.com/dexidp/dex/pull/3372 Dex declines passwords that contain special characters. Since password is not passed to any kind of filters, it is safe to pass a password as is. No LDAP query injections are possible.

This commit is a revert of password escaping.

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-04-09 13:05:06 +02:00
Maksim NabokikhandGitHub e5dce3d3b7 OIDC connector: Allow specifying empty prompt type (#3373)
Enhanced the OIDC connector to allow specifying an empty promptType parameter. Previously, the default behavior always appended 'consent' if promptType was not specified. This adjustment was necessary due to variations in default behaviors across certain Identity Providers (IDPs).

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2024-03-12 07:52:51 +01:00