Hi there
We successfully follow this guide but in step 4-5 (OAuth authorization) we are facing some issues:
- If we pass the based64-ed
Authorization
header and hit the endpoint athttps://oauth.pipedrive.com/oauth/token
with a POST request and an additionalcontent-type
header ofapplication/x-www-form-urlencoded
we receive an error in the POST request as its PREFLIGHT request is rejected: , basically the endpoint on PD’s end does no support theAuthorization
header on PREFLIGHT requests… - If we instead do what is suggested as an alternative, passing
client_id
andclient_secret
in the body request we get an error claiming that the cors origin (localhost) in his case, is not allowed…
Suggestions welcome