Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

Access/Refresh Token

ZainZ7
Rookie
0 Votes

Hi,

 

We have a situation where refresh tokens are getting invalided if a user connects the same Constant Contact account twice in our site. Here's what's happening:

 

- Our users can create multiple Projects within their account

- Each project can have its own Constant Contact Integration.

 

- At 1:00 PM, a user adds a Constant Contact Integration in "Project A"

- At 2:00 PM, a user adds another integration in "Project B"

- At 2:30 PM, Project A and Project B api calls work perfectly.

- At 3:01 PM, we refresh Project A's access token using the refresh token of Project A. This will result in an unauthorized error. This is probably because Constant Contact invalidates the tokens/refresh tokens of Project A once we re-authorize if at 2:00PM for "Project B"

 

What is the best solution to address this?

0 REPLIES 0
Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up