mirror of https://gitlab.com/brutaldon/brutaldon
Hopefully fix last piece of oauth login errors for Pleroma
This commit is contained in:
parent
73f8ded761
commit
b9f39ce269
|
@ -199,7 +199,8 @@ def login(request):
|
|||
client_id = client.client_id,
|
||||
client_secret = client.client_secret,
|
||||
api_base_url = api_base_url)
|
||||
return redirect(mastodon.auth_request_url(redirect_uris=redirect_uris))
|
||||
return redirect(mastodon.auth_request_url(redirect_uris=redirect_uris),
|
||||
scopes=['read', 'write', 'follow'])
|
||||
else:
|
||||
return render(request, 'setup/login.html', {'form': form})
|
||||
|
||||
|
|
Loading…
Reference in New Issue