OAuth Server Flow issue Cannot get the whole State back the state is being altered/truncated.

user306712
Rookie
0 Votes

While Trying to integrate Constant Contact with OAuth Server Flow there is an issue I am facing, I am unable to get the whole state back, the state is being altered/truncated.

 

For example . When I am requesting Constant Contact Service with the following url: URL:https://api.cc.email/v3/idfed/<client id> &<redirect_uri> & <response_type> & <scope> & <state>.

 

I am unable to get the whole state along with the auth code in my redirect uri, and also when I remove '&' symbol before the state in the URL mentioned above then I am able to get the whole state back properly.

So the following are the questions which I want a clarification/help on:

Why is it that the query parameters cannot be passed through state?

5 REPLIES 5
Caleb_A
Employee
0 Votes

Thank you for reaching out to Constant Contact API Developer Support, my name is Caleb. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

We do support the use of the state parameter, however with the parameter not being passed through successfully we believe that the value that is being used may be the source of the issue.

 

To further test this issue we'll need some additional information. If you could please provide us with examples of the request using the state parameter we'll be able to better assist in pinpointing the cause of the parameter not being passed through. Please provide this information securely by reaching out to us via email at webservices@constantcontact.com, we look forward to assisting you!


Regards,

Caleb A.
API Support Specialist

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
user306712
Rookie
0 Votes
Thank you for your reply, I've sent an email to the above-mentioned email address with the additional information. That email did not receive a response. Please see the email I sent you.
Courtney_E
Moderator
0 Votes

Hello Kiriti,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It looks like we have not received your follow-up email with the examples of the complete Authorization Request URLs you were sending. I’ve responded to your previous email request to see if we can establish a point of contact.

 

If you haven't received our reply, please let us know via email at webservices@constantcontact.com, and reference case number 28701595.


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
user306712
Rookie
0 Votes

Thank You fro the response, I have sent you follow-up email with examples asked for.But as mentioned above , I have also replied the same to the email which I received.
Regards
Kiriti

Courtney_E
Moderator
0 Votes

Hello Kiriti,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

Thanks for sending the requested data. We’ve followed up with you directly via email, but I wanted to close the loop here as well.

 

If you haven't received our reply, please let us know via email at webservices@constantcontact.com, and reference case number 28754335. Otherwise please feel free to respond directly to our email with any further questions. Thanks!


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
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