Skip to content

Commit

Permalink
Add description for transition:* scopes (#3432)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieusieben authored Jan 23, 2025
1 parent 08a48c1 commit b049431
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-fishes-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/oauth-provider": patch
---

Add user friendly description for transition:\* scopes
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ function getScopeDescription(scope: string): string {
switch (scope) {
case 'atproto':
return 'Uniquely identify you'
case 'transition:generic':
return 'Access your account data (except chat messages)'
case 'transition:chat.bsky':
return 'Access your chat messages'
default:
return scope
}
Expand Down

0 comments on commit b049431

Please sign in to comment.