Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Fixed: issue with Requesting the access_token: You must provide a cli… #258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

functorcode
Copy link

…ent_id

Problem: It was not receiving access_token while exchanging code.
Error: You must provide a client_id

Solution:
File: oauth2.py
Function: exchange_for_access_token
+headers = {'Content-type': 'application/x-www-form-urlencoded'}
+response, content = http_object.request(url,headers=headers,method="POST", body=data)
-response, content = http_object.request(url,method="POST", body=data)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants