Urgent.News

What's breaking now, across thousands of outlets.

Tech

Cloudflare Adds Optional OAuth Scopes, Letting Developers Mark What Users May Decline

Cloudflare has added optional OAuth scopes, letting client owners mark which permissions users may deselect at consent. The company names MCP servers as the motivating case, since agents request the union of everything they might do. Partial consent exists elsewhere, but developer control over which scopes are droppable does not. By Steef-Jan Wiggers

Cloudflare has introduced optional OAuth scopes, enabling users to select specific permissions during the consent screen. This feature addresses the issue faced by agents, which often require broad sets of permissions, causing users to decline an application's full request due to concerns over extensive access. By marking scopes as optional, developers can now request only the necessary permissions, allowing users to deselect any that are not required.

This change aims to provide a more granular consent process, improving user experience and reducing the risk of applications requesting unnecessary permissions. When a user declines an optional scope, the access token issued will only contain the granted permissions, prompting applications to adjust their functionality accordingly.

Cloudflare's approach emphasizes developer control over which permissions may be dropped, while still placing the decision in the user's hands during the consent process.

Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at infoq.com →

More in Tech

Generating test cases is the easy part

There is a ceiling on your test coverage and it is not technical. Running tests has been a solved problem for a long time. Runners are fast, parallelism is cheap, CI is a commodity.

More from Wednesday 2 September →