API token for multiple accounts

Hi there,

We’re about to finish the OAuth implementation, but during the tests we found one use case we’re not sure how to handle with.

Turned out we allow to connect multiple Woodpecker accounts to one Pipedrive account - when the authorization happens on our end. It’s okay with us, but I have a question related to the API token in that case. Will the POST request for API token (https://oauth.pipedrive.com/oauth/token) for the same Pipedrive account, but different Woodpecker accounts result with the same token every time?

Welcome to the community @Anna_Nowacka :slight_smile:

Can you elaborate on what these accounts are and how are they connected?

The OAuth access_token is generated per app per account per user