mirror of
https://github.com/ihabunek/toot
synced 2025-01-11 17:13:58 +01:00
Use SCOPES const
This commit is contained in:
parent
6c46f19bee
commit
09a138ba27
@ -55,7 +55,7 @@ def get_browser_login_url(app):
|
|||||||
return "{}/oauth/authorize/?{}".format(app.base_url, urlencode({
|
return "{}/oauth/authorize/?{}".format(app.base_url, urlencode({
|
||||||
"response_type": "code",
|
"response_type": "code",
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
|
||||||
"scope": "read write follow",
|
"scope": SCOPES,
|
||||||
"client_id": app.client_id,
|
"client_id": app.client_id,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user