accounts client
This commit is contained in:
parent
a62f5ba197
commit
7fae7ff951
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ def login_as_client_credentials():
|
|||
|
||||
def get_client():
|
||||
access_token = login_as_client_credentials()['access_token']
|
||||
client = AuthenticatedClient(base_url=settings.BASE_OAUTH2_PROVIDER_PUBLIC_URL, token=access_token)
|
||||
client = AuthenticatedClient(base_url="https://accounts.gooyal.com", token=access_token)
|
||||
return client
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue