Commit Graph
387 Commits
Author SHA1 Message Date
Mark Sagi-Kazar e230d9426d test: use new Go features in tests
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-08-18 14:09:26 +02:00
Márk Sági-KazárandGitHub 138adf8056 Merge pull request #4202 from daemonfire300/jf-grpc-list-clients-3496
feat: grpc api list clients
2025-08-18 12:47:46 +02:00
Wenxuan Zhao be868b9f7c fix: join issuer URL with discovery path without extra slash after issuer URL
Signed-off-by: Wenxuan Zhao <viz@linux.com>
2025-08-12 01:14:28 +08:00
Márk Sági-KazárandGitHub 55a687ba81 Merge pull request #4204 from rackerlabs/fix-device-code-response
fix: device code pending HTTP response
2025-07-29 15:55:49 +02:00
Julius Foitzik e7ea9d769c fix: fork was outdated for some reason
Signed-off-by: Julius Foitzik <info@accountr.eu>
2025-07-18 16:21:16 +02:00
Julius Foitzik 9791d86e9a chore: add minor comment
Signed-off-by: Julius Foitzik <info@accountr.eu>
2025-07-18 16:18:12 +02:00
Julius Foitzik e7b151c386 feat: grpc api list clients
refers to https://github.com/dexidp/dex/issues/3496

Signed-off-by: Julius Foitzik <info@accountr.eu>
2025-07-18 16:18:08 +02:00
Doug Goldstein d6237a8a6e fix: device code should not require scope
As per RFC8628 section 3.1, https://datatracker.ietf.org/doc/html/rfc8628#section-3.1
the scope is optional. Since dex always requires at least 'openid',
default the value to comply with the RFC.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-07-01 20:11:25 -05:00
Doug Goldstein fbcc76f779 fix: device code pending HTTP response
As per RFC8628 section 3.5, https://datatracker.ietf.org/doc/html/rfc8628#section-3.5
the authorization_pending response should extend RFC6749 section 5.2,
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 which
specifies that the HTTP response code should be 400, Bad Request.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-07-01 20:08:03 -05:00
Manoj VivekandGitHub 87ec9e077e Allow server startup with partial connector failures (#4159)
Signed-off-by: Manoj Vivek <p.manoj.vivek@gmail.com>
2025-06-16 15:53:20 +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
Massimiliano FilacchioniandGitHub 6e0cbdf972 Generate access tokens for implicit & hybrid flows only when needed (#3857)
Avoid access token generation when response_type is either "id_token"
(for implicit flow) or "code id_token" (for hybrid flow).

Signed-off-by: Massimiliano Filacchioni <m.filacchioni@gmail.com>
2025-03-05 21:23:30 +01:00
Mark Sagi-Kazar 76de7b3920 build: update Go to 1.24
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-02-18 13:03:54 +01:00
Bob MaertzandGitHub ad31b5d6f7 Passing context storage (#3941)
Signed-off-by: Bob Maertz <1771054+bobmaertz@users.noreply.github.com>
2025-02-04 10:11:44 +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
Nicholas WiersmaandGitHub d521051e33 feat: set resource revision for connectors (#3868)
Signed-off-by: Nicholas Wiersma <nick@wiersma.co.za>
2024-12-17 20:40:57 +01:00
Maksim NabokikhandGitHub bb985ca0ea Create offline sessions if approval is skipped (#3828)
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2024-11-25 16:25:24 +01:00
Maksim NabokikhandGitHub 4bb97c73a9 Handle root path better (than nothing) (#3747)
Signed-off-by: maksim.nabokikh <max.nabokih@gmail,com>
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2024-10-16 12:23:09 +02:00
Daniël SonckandGitHub e7c0682e45 feat: also allow localhost equivalent IP addresses (#3778)
Instead of only checking for "localhost", also validate through
net.ParseIP + IsLoopback whether the host is numerically localhost

Signed-off-by: Daniel Sonck <daniel@sonck.nl>
2024-10-07 10:57:14 +02:00
IvoGomanandGitHub 1a16aa4889 feat(metrics): add response_size, request_duration histograms (#3748)
replaces felixge/httpsnoop with prometheus/client_golang instrumentation
adds histograms for response_size_bytes & request_duration_seconds

Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
2024-09-18 00:01:57 +02:00
Koen de LaatandGitHub d0f1777c41 Added Discovery to grpc (#3598)
Signed-off-by: Koen de Laat <koen.de.laat@philips.com>
2024-08-29 17:12:25 +02:00
Maksim NabokikhandGitHub 81af48862b Remove additional features and add a feature flag instead (#3663)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-08-01 21:38:09 +02:00
225660785c Enrich Dex logs with real IP and request ID (#3661)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
2024-08-01 21:37:35 +02:00
b07e1bc9f1 gRPC Connectors API (#3245)
Signed-off-by: Giovanni Campeol <giovanni.campeol.95@gmail.com>
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
Co-authored-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2024-07-16 12:05:23 +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