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.

Authorization Code Request: 400 - Invalid redirect_uri when adding query parameters

Highlighted
New Member

Re: Authorization Code Request: 400 - Invalid redirect_uri when adding query parameters

Can the wildcard be in the path?  We use the restful concept of identifiers in the path, and use that with all of our other OAuth2 flows, e.g.

(unencoded) redirect uri: http://localhost/api/1.0/company/12345/auth

Highlighted
Moderator

Re: Authorization Code Request: 400 - Invalid redirect_uri when adding query parameters

Hi @GregB1741,

 

The wildcard can be placed anywhere in the redirect URI.


Regards,
Jimmy D.
Tier II API Support Engineer
Highlighted
Occasional Participant

Re: Authorization Code Request: 400 - Invalid redirect_uri when adding query parameters

As a developer, I sort of hate it when people tell me the following:

 

Hey, it's happening to me too.

 

But...hey it's happening to me too and I don't want to resort to Cookies or Local Storage to try to manage state unless this is going to be a long time to fix.  Without this capability it will be hard for us to know who we passed to constant contact.  I am sure you get that.

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
Featured