Patch Changes
- #391
0f0b2ccThanks @mattzcarey! - A registration may list redirect URIs the redirect policy refuses, next to one it accepts. Some Cursor versions registercursor://anysphere.cursor-mcp/oauth/callbackbeside their https and loopback callbacks and sign in with the loopback one; 1.2.0 refused the whole registration because of thecursor://entry, although 0.10 accepted it. Dynamic registration,createClient()andupdateClient()now need at least one redirect URI that follows the policy, and still refuse any with a dangerous scheme, a fragment or userinfo. Every authorization request is still held to the full policy:parseAuthRequest()refuses a refused URI locally, andcompleteAuthorization()won't send a code to one.