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

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured