Skip to content
Snippets Groups Projects
Commit 341416b0 authored by Ivan Tashkinov's avatar Ivan Tashkinov
Browse files

Revert "Merge branch 'revert-96cab6d8' into 'develop'"

This reverts merge request !1032
parent c7376b83
No related branches found
No related tags found
2 merge requests!1034Reinstate `push` and `admin` scopes,!1028`master` refresh with `develop`
Pipeline #21063 passed
......@@ -12,7 +12,7 @@ export const getOrCreateApp = ({ clientId, clientSecret, instance, commit }) =>
form.append('client_name', `PleromaFE_${window.___pleromafe_commit_hash}_${(new Date()).toISOString()}`)
form.append('redirect_uris', REDIRECT_URI)
form.append('scopes', 'read write follow')
form.append('scopes', 'read write follow push admin')
return window.fetch(url, {
method: 'POST',
......@@ -28,7 +28,7 @@ const login = ({ instance, clientId }) => {
response_type: 'code',
client_id: clientId,
redirect_uri: REDIRECT_URI,
scope: 'read write follow'
scope: 'read write follow push admin'
}
const dataString = reduce(data, (acc, v, k) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment