we are looking forward integrate our product with Pipedrive.
I understand the steps of installing an app from the Marketplace and how to get the user tokens to fetch their data. But I am wondering if is possible to allow the Pipedrive users also to login at our product using Pipedrive credentials, like as Single Sign-on.
Hi Ricardo,
before getting in the specifics of SSO, I think there might be some simple reason why you’re getting that error message. I suspect the request is not formatted correctly.
Thanks Dani,
got you, this should be opened at the browser, now the url_redirect is been validated and we got the code to continue the authorization process.
Following question: how do we skip the installation screen if the user already have the app installed and we want just to authenticate the user in background, via our Online App (running at our website, with Pipedrive user auth)?
You should store the refresh token. If the user has not uninstalled the app, you can simply request a new access_token without redirecting to the authorization page again.
The login should be handled by your application. Basically a user should be able to be logged in / logged out, and have / not have an access_token for Pipedrive (same as has installed / has not installed the app).
I hope this helps. I also made a video where I cover how to build an app, and how to implement the OAuth 2 flow. You can find it in the same documentation page, and you can start the video directly at 1:50: https://pipedrive.readme.io/docs/marketplace-oauth-authorization
I would suggest you start from there, and if you have any specific questions, feel free to ask here.
You will be able to get on a call with one of us, as well, if it’s really needed. But let’s try to keep it in this thread if possible. Both for simplicity, and to let other users who might have the same questions benefit from it as well