Preflight Checklist
Describe your problem
As defined in OIDC RFC, a provider using Dynamic Client Registration is recommended to expose registration_endpoint metadata. However we can't define it within the lib for a provider -- even if present in the codebase for the discovery:
|
RegistrationEndpoint string `json:"registration_endpoint,omitempty"` |
Describe your ideal solution
Add support for registration_endpoint in
|
type Endpoints struct { |
|
Authorization *Endpoint |
|
Token *Endpoint |
|
Introspection *Endpoint |
|
Userinfo *Endpoint |
|
Revocation *Endpoint |
|
EndSession *Endpoint |
|
CheckSessionIframe *Endpoint |
|
JwksURI *Endpoint |
|
DeviceAuthorization *Endpoint |
|
} |
and the associated custom option like
this or allow adding custom metadata in
openid-configuration endpoint
Version
main
Environment
Self-hosted
Additional Context
Happy to raise a PR for it.
Preflight Checklist
Describe your problem
As defined in OIDC RFC, a provider using Dynamic Client Registration is recommended to expose
registration_endpointmetadata. However we can't define it within the lib for a provider -- even if present in the codebase for the discovery:oidc/pkg/oidc/discovery.go
Line 39 in d6e37fa
Describe your ideal solution
Add support for
registration_endpointinoidc/pkg/op/op.go
Lines 177 to 187 in d6e37fa
openid-configurationendpointVersion
main
Environment
Self-hosted
Additional Context
Happy to raise a PR for it.