[#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

@ -214,7 +214,7 @@ defmodule Pleroma.Factory do
%Pleroma.Web.OAuth.App{
client_name: "Some client",
redirect_uris: "https://example.com/callback",
scopes: ["read"],
scopes: ["read", "write", "follow"],
website: "https://example.com",
client_id: "aaabbb==",
client_secret: "aaa;/&bbb"