Commit 95f7aa2
committed
fix(oidc): return registration_client_uri in PUT and GET dynamic client 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 #40841 parent f84c60a commit 95f7aa2
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
| |||
666 | 668 | | |
667 | 669 | | |
668 | 670 | | |
| 671 | + | |
669 | 672 | | |
670 | 673 | | |
671 | 674 | | |
| |||
0 commit comments