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.
Comments
Similar requests
feat: OAuth Provider Group-to-Appwrite Team Mapping
1 vote · 0 comments
Backend: Add TikTok as OAuth provider
0 votes · 0 comments
🚀 Feature: Register first before creating session in OATH2 or Phone
0 votes · 0 comments
🚀 Feature: [Webhooks] Custom payload, redirect toggle & execution logs
0 votes · 0 comments
🚀 Feature: Dynamic state in OAuth2
0 votes · 0 comments
No comments yet.