Add description for transition:* scopes (#3432)
This commit is contained in:
parent
08a48c16a0
commit
b04943191b
.changeset
packages/oauth/oauth-provider/src/assets/app/components
5
.changeset/little-fishes-mate.md
Normal file
5
.changeset/little-fishes-mate.md
Normal file
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user