Authorization URL not working V3

Campaign Contributor
I've been trying to set up an automatic creation to my app, as this: When a user is registered in my app, he is also registered in my constant contact account as a contact. The only problem I'm having is with the Authorization URL. I'm using .NET CORE Redirect(AuthUrl) and my AuthUrl in the same format as the API Docs, but I'm getting this response after redirecting:{ID}&scope=contact_data&response_type=code&redirect_uri=http...


Access to XMLHttpRequest at '{ID}&scope=contact_data&resp...' (redirected from 'https://localhost:44329/Subscriptions/RegisterNewCustomer') from origin 'https://localhost:44329' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

0 Votes

Hello Kuljeet, 


It looks like while the format of the Authorization Request URL is correct, your redirect_uri does not match what you have set as the Redirect URI in the My Applications section of the V3 portal in your account.


In order to successfully redirect to the authorization page, those two values will need to match. Once the value is corrected, it should be able to redirect without issue.


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.
Developer Portal

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

Visit Page


API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up