feat(oauth): support the profile scope
A token with only the profile scope can call verify_credentials, as in Mastodon 4.3. The answer is the public account, so apps can use it to log users in without seeing their email or settings.
This commit is contained in:
parent
9edce3a0a6
commit
530ae4b339
7 changed files with 90 additions and 4 deletions
|
|
@ -33,6 +33,11 @@ msgstr "Write all using admin API"
|
|||
msgid "follow"
|
||||
msgstr "Read and write user relationships"
|
||||
|
||||
#, elixir-autogen, elixir-format
|
||||
#: lib/pleroma/web/api_spec/scopes/translator.ex:5
|
||||
msgid "profile"
|
||||
msgstr "Read only your public profile, to log in to other services"
|
||||
|
||||
#, elixir-autogen, elixir-format
|
||||
#: lib/pleroma/web/api_spec/scopes/translator.ex:5
|
||||
msgid "push"
|
||||
|
|
|
|||
|
|
@ -220,6 +220,11 @@ msgstr ""
|
|||
msgid "read:mutes"
|
||||
msgstr ""
|
||||
|
||||
#: lib/pleroma/web/api_spec/scopes/translator.ex:5
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "profile"
|
||||
msgstr ""
|
||||
|
||||
#: lib/pleroma/web/api_spec/scopes/translator.ex:5
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "push"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue