[#468] Refactored OAuth scopes' defaults & missing selection handling.
This commit is contained in:
parent
2a4a4f3342
commit
dcf24a3233
5 changed files with 28 additions and 30 deletions
|
|
@ -1156,7 +1156,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||
response_type: "code",
|
||||
client_id: app.client_id,
|
||||
redirect_uri: ".",
|
||||
scope: app.scopes
|
||||
scope: Enum.join(app.scopes, " ")
|
||||
)
|
||||
|
||||
conn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue