FeatureFuel
0

feat: Register OAuth clients with their valid redirect URIs

Source: appwrite/appwrite#16413 · opened by @ChiragAgg5k
Summary Appwrite's OAuth 2.0 authorization server refuses a whole dynamic client registration (RFC 7591) when any one of its redirect_uris breaks the transport rule. A potential improvement is to register the client with the URIs that pass, drop the refused ones, and return the stored list in the registration response, as long as at least one usable URI remains. This is a potential improvement, not a bug. The current behaviour is correct per spec. This issue records the trade-off so we can decide once we have data on the clients that still fail. Current behaviour POST /v1/oauth2/:project_id/register checks every redirect_uri, and one refused URI fails the whole registration: A URI is allowed when it matches one of these: | Form | Example | Allowed | | --- | --- | --- | | https | | ✅ | | loopback http | | ✅ | | private-use (reverse-domain) scheme | com.example.app:/oauth/callback | ✅ | | mcp-client, cursor local schemes | cursor://anysphere.cursor-mcp/oauth/callback | …

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