Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
pleroma-fe
Commits
c1a0e239
Commit
c1a0e239
authored
5 years ago
by
HJ
Browse files
Options
Downloads
Plain Diff
Merge branch 'revert-
c2c48ec2
' into 'develop'
Reinstate `push` and `admin` scopes See merge request
!1034
parents
36910935
341416b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1034
Reinstate `push` and `admin` scopes
,
!1028
`master` refresh with `develop`
Pipeline
#21181
passed
5 years ago
Stage: lint
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/services/new_api/oauth.js
+2
-2
2 additions, 2 deletions
src/services/new_api/oauth.js
with
2 additions
and
2 deletions
src/services/new_api/oauth.js
+
2
−
2
View file @
c1a0e239
...
...
@@ -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
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Eugenij
@eugenijm
mentioned in issue
admin-fe#55 (closed)
·
5 years ago
mentioned in issue
admin-fe#55 (closed)
mentioned in issue admin-fe#55
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment