You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a successful OAuth login, cf auth login prints every granted scope as one long comma-separated line. The default scope set is large, making the output difficult to scan.
Proposed behavior
Show a short summary after login, for example:
Signed in as [email protected]
Access granted to 34 products
Run `cf auth whoami --scopes` to view permissions.
The detailed view should group scopes by product, make write or sensitive permissions clear, and preserve the full raw scope list in structured output.
Acceptance criteria
Default login no longer prints the full scope list inline.
Users can still inspect every granted scope.
Custom scopes are clearly distinguished from defaults.
Output is readable on light and dark terminal themes.
Was wondering if this is still an issue? I have made a fix for this:
cf auth login now returns this:
Successfully logged in.
Config file: /Users/josh/Library/Preferences/cloudflare/config/default.json
Scopes: 475 across 13 products
→ Run cf auth scopes to view permissions.
Token expires: 20/10/2026, 18:47:07
cf auth whoami stays as is to keep existing use cases unchanged.
Edit: cf auth scopes is added as a new command.
cf auth scopes returns a summary of products and the number of scopes attached:
cf auth scopes [TERM] returns only the scopes of those products which contain words which begin with TERM:
cf auth scopes --all returns all scopes, grouped by product:
cf auth scopes --filter [TERM] searches the scopes based on the term across all products.
For now, I had to match the products/grouping of the login portal page when you do cf auth login as I couldn't find an official place where they are all mapped. If there is one then I could map to that instead.
Also works well on both light and dark (uses existing colours)
Let me know if this issue is still something you want to fix 😄
Activity
joshjkns commentedon Oct 20, 2026
Hi Pete,
Was wondering if this is still an issue? I have made a fix for this:
cf auth loginnow returns this:cf auth whoamistays as is to keep existing use cases unchanged.Edit:
cf auth scopesis added as a new command.cf auth scopesreturns a summary of products and the number of scopes attached:cf auth scopes [TERM]returns only the scopes of those products which contain words which begin with TERM:cf auth scopes --allreturns all scopes, grouped by product:cf auth scopes --filter [TERM]searches the scopes based on the term across all products.For now, I had to match the products/grouping of the login portal page when you do
cf auth loginas I couldn't find an official place where they are all mapped. If there is one then I could map to that instead.Also works well on both light and dark (uses existing colours)
Let me know if this issue is still something you want to fix 😄