fix demand authorization
This commit is contained in:
parent
f0bb7182bb
commit
c6d0cd2b5b
|
@ -82,7 +82,7 @@ class Organization(models.Model):
|
||||||
url=self.response_uri.strip("/"),
|
url=self.response_uri.strip("/"),
|
||||||
redirect_uri=settings.RESPONSE_URI
|
redirect_uri=settings.RESPONSE_URI
|
||||||
)
|
)
|
||||||
auth = (self.my_client_id, self.client_secret)
|
auth = (self.my_client_id, self.my_client_secret)
|
||||||
return requests.get(url, auth=auth)
|
return requests.get(url, auth=auth)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in New Issue