[#468] Refactored OAuth scopes' defaults & missing selection handling.

This commit is contained in:
Ivan Tashkinov 2019-02-17 13:49:14 +03:00
commit dcf24a3233
5 changed files with 28 additions and 30 deletions

View file

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