tmp
This commit is contained in:
parent
d8929d3064
commit
a4524d7384
5 changed files with 31 additions and 16 deletions
|
|
@ -34,7 +34,7 @@ def retrieve_web_api_token(authorization_code):
|
|||
"client_secret": client_secret,
|
||||
"client_id": client_id,
|
||||
"code": authorization_code,
|
||||
'redirect_uri': 'http://localhost:8888',
|
||||
'redirect_uri': 'http://127.0.0.1:8888',
|
||||
}
|
||||
|
||||
print("\nAuthenticating WEB API\n")
|
||||
|
|
@ -95,7 +95,7 @@ def open_authenticate_page():
|
|||
params = {
|
||||
'client_id': client_id,
|
||||
'response_type': 'code',
|
||||
'redirect_uri': 'http://localhost:8888',
|
||||
'redirect_uri': 'http://127.0.0.1:8888',
|
||||
"scope": "user-top-read playlist-read-collaborative user-read-email user-library-read user-read-private playlist-read-private",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue