The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

what is Redirect uri for oauth calls

Occasional Visitor

what is Redirect uri for oauth calls

what is Redirect uri for oauth calls..


Re: what is Redirect uri for oauth calls

The Redirect URI for OAuth is used as the way for the OAuth provider (in this case, Constant Contact) to send secure responses to the OAuth consumer (in this case, your application).  It is set as part of the application key configuration so that Constant Contact knows who to send the responses to and is used often as a way to avoid impersonation and some forms of man in the middle attacks. 


This is important as OAuth flows require that the end user of the integration must go through the OAuth provider (Constant Contact) login page in order to identify themselves.  Since this page is hosted by a 3rd party and not your application, the success/failure criteria must be communicated back to you through a redirect.  This is where the redirect URI comes into play.  When the login is processed, we redirect to your URI to share the success or failure information of the flow so you can process the access_token and store it for future use securely. 

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More