Refresh token not returning in Authentication with new OAuth2 Authorization Code

SOLVED
Go to solution
EricV975
Rookie
0 Votes

I'm working on updating to the new authorization/token endpoints. I'm able to successfully copy/update my application. Then authorize it but when I go to request a an access and refresh token, the request is successful but there is no refresh token. 

 

There are no errors and the response is exactly as is document here in the example response only there is no refresh_token key returned. Any thoughts on why? 

Screenshot of my returned response output

 

Screen Shot 2022-02-16 at 8.37.43 AM.png

1 ACCEPTED SOLUTION
Courtney_E
Employee

Hello EricV975 ,

 

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.

 

While it won’t return any errors if excluded, the offline_access scope is now required for returning refresh tokens with the new flow: 

 

V3 OAuth2 - Create an Authorization Request

https://v3.developer.constantcontact.com/api_guide/server_flow.html#step-1-create-an-authorization-r...

 

Please have a look and let us know if you have any other questions!


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.

View solution in original post

1 REPLY 1
Courtney_E
Employee

Hello EricV975 ,

 

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.

 

While it won’t return any errors if excluded, the offline_access scope is now required for returning refresh tokens with the new flow: 

 

V3 OAuth2 - Create an Authorization Request

https://v3.developer.constantcontact.com/api_guide/server_flow.html#step-1-create-an-authorization-r...

 

Please have a look and let us know if you have any other questions!


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