creating trusted app from adminFE & mix task

This commit is contained in:
Alexander Strizhakov 2020-02-28 11:16:40 +03:00
commit a6ee6784bc
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
15 changed files with 678 additions and 3 deletions

View file

@ -294,7 +294,7 @@ defmodule Pleroma.Factory do
def oauth_app_factory do
%Pleroma.Web.OAuth.App{
client_name: "Some client",
client_name: sequence(:client_name, &"Some client #{&1}"),
redirect_uris: "https://example.com/callback",
scopes: ["read", "write", "follow", "push", "admin"],
website: "https://example.com",