Add description for transition:* scopes ()

This commit is contained in:
Matthieu Sieben 2025-01-23 11:01:37 +01:00 committed by GitHub
parent 08a48c16a0
commit b04943191b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions
.changeset
packages/oauth/oauth-provider/src/assets/app/components

@ -0,0 +1,5 @@
---
"@atproto/oauth-provider": patch
---
Add user friendly description for transition:\* scopes

@ -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
}