[#468] Added support for push OAuth scope (Mastodon 2.4+).

This commit is contained in:
Ivan Tashkinov 2019-02-20 17:27:41 +03:00
commit b574d97c2e
3 changed files with 20 additions and 2 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", "write", "follow"],
scopes: ["read", "write", "follow", "push"],
website: "https://example.com",
client_id: "aaabbb==",
client_secret: "aaa;/&bbb"