Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Constant Contact wants to help you succeed! We’re celebrating our professional service programs on the Constant Contact Community this month and you have a chance to try one of the services for free! Learn more.
Ryan, Looks like my URL got cut off, here it is with line breaks. https://oauth2.constantcontact.com/oauth2/oauth/siteowner/authorize? response_type=code& client_id=API_KEY& redirect_uri=https%3A%2F%2Flocalhost%2FPATH_TO_APPLICATION As for other code, there is no other code that really matters. If you replace API_KEY in the URL above with my real API key, you can paste this into a browser and see that: You correctly get taken to an OAUTH authorization page After granting access, you are redirected to the following URL: https://localhost/PATH_TO_APPLICATION?error=redirect_uri_mismatch& error_description=Invalid%20redirect. If things were working, I'd get redirected to: https://localhost/PATH_TO_APPLICATION?code=AUTH_CODE Note that I can change PATH_TO_APPLICATION to a real app location, same result. I can also use a server with a public hostname and not use localhost, same result. Does that help? Andy
... View more
I'm trying to use OAUTH 2.0 to authenticate/authorize. I'm testing on my local machine, where my application is running and accessible over HTTPS. I'm taken through the authization step, but get an error on the redirect back to my application. To start the process, I'm redirecting the browser to: https://oauth2.constantcontact.com/oauth2/oauth/siteowner/authorize?response_type=code&client_id=MY_API_KEY&redirect_uri=https%3A%2F%2Flocalhost%2Fsomepath Where MY_API_KEY is my api key. I'm taken to a Constant Contact login page, then to an authorization page, where I can grant access to my application. After clicking the Grant button, I'm taken to: https://localhost/somepath?error=redirect_uri_mismatch&error_description=Invalid%20redirect. Can you tell me what is wrong with the redirect_uri value I'm using? Thanks, Andy
... View more