Arbitrary OAuth2 Redirect URI

shanep10
Participant

Arbitrary OAuth2 Redirect URI

My app runs on multiple domains, but only one Redirect URI can be set. Integrating with Mailchimp allows wildcard URIs as well as sending the URI with the request. Any chance of getting this feature?

4 REPLIES 4
David_B.
Moderator

Hello,

Thank you for reaching out to the API Support team here at Constant Contact. That is a great question.

This can be accomplished by having a page you control which would be used as the redirect. You can then append a query to the redirect URI on your request which your site can interpret and forward the user to the proper domain along with all of the OAuth parameters.

For a more detailed response, please see this post here: https://community.constantcontact.com/t5/Developer-Support-ask-questions/Setting-up-authentication-b...

Please let me know if you have any other questions!

Sincerely,
David B.
API Support Specialist

GregB3955
Regular Participant

48015940-4ccfd400-e0f8-11e8-947e-8853e0dd8237.pngAre you 100% sure about this? I just saw this message when creating my redirect URI. I'm hoping its not true?

 

 

Hello Greg,

 

This information means that URL Query Parameters are not allowed within your registered redirect URI. You can use them in practice, they just can't be stored as a part of your registered redirect URI within Mashery.

 

Regards,
David B.
Tier II API Support Engineer

GregB3955
Regular Participant

Thank you very much!

Developer Portal

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

Visit Page