Skip to content

fix(oidc): return registration_client_uri in PUT and GET dynamic client responses#4090

Open
Yanhu007 wants to merge 1 commit intoory:masterfrom
Yanhu007:fix/oidc-registration-client-uri
Open

fix(oidc): return registration_client_uri in PUT and GET dynamic client responses#4090
Yanhu007 wants to merge 1 commit intoory:masterfrom
Yanhu007:fix/oidc-registration-client-uri

Conversation

@Yanhu007
Copy link
Copy Markdown

Fixes #4084

Problem

The OIDC Dynamic Client Registration PUT and GET endpoints do not include registration_client_uri in their responses, violating the OpenID Connect Dynamic Client Registration 1.0 specification.

The POST (create) endpoint correctly sets it (handler.go:199), but PUT (update) and GET (read) omit it.

Fix

Set RegistrationClientURI before writing the response in both setOidcDynamicClient and getOidcDynamicClient, matching the create handler.

…nt responses

The OIDC Dynamic Client Registration PUT and GET endpoints do not
include registration_client_uri in their responses, violating the
OpenID Connect Dynamic Client Registration 1.0 specification.

The POST (create) endpoint correctly sets RegistrationClientURI,
but the PUT (update) and GET (read) endpoints omit it.

Set RegistrationClientURI before writing the response in both
setOidcDynamicClient and getOidcDynamicClient, matching the
create handler's behavior.

Fixes ory#4084
@Yanhu007 Yanhu007 requested review from a team and aeneasr as code owners April 12, 2026 18:06
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OIDC Dynamic Client Registration - PUT does not return registration_client_uri

2 participants