FeatureFuel
1

Let operators restrict the redirect hosts of dynamically registered OAuth clients

Source: twentyhq/twenty#31827 · opened by @Belkouche
Scope & Context Follow-up to GHSA-pg47-7c3r-fwfx. POST /oauth/register is public by design (RFC 7591, MCP clients need it), and validateRedirectUri only checks the URI shape, so anyone can register a client with any HTTPS redirect host. #30276 now marks the known clients as verified on the consent screen, which helps members spot an impostor. Self-hosted operators still have no hard control over where an anonymously registered client can send authorization codes. I have a ready change but can't open a PR since the repo now limits PR creation to collaborators. Branch: (one commit on top of current main). Happy for a maintainer to open it from there, or to adjust it. Current behavior Any HTTPS host is accepted as a redirect_uri on Dynamic Client Registration, with no way for an operator to narrow it. Expected behavior An operator can list the hostnames that dynamically registered clients may redirect to. With no configuration, behavior stays as it is today. Technical in…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests