I am attempting to add contacts using the new v3 api built in python and then passed to react through graphql
constant_contact_auth_url = https://authz.constantcontact.com/oauth2/default/v1/authorize?client_id={client_id}&redirect_uri=redirect_uri}&response_type={response_type}&code_challenge={code_challenge}&code_challenge_method=S256&state={state}&scope=account_read+account_update+contact_data+campaign_data"
in react using
fetch(data.customers.constantContactAuthUrl)
but whenever I hit that url, I am given the error "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <url above>" ... and upon writing this, I noticed that the url had "v1" in it, though I had copied it from the documentation here so, I went and tried it with "v3" in the url instead and also other url I found in other documentation with, "https://api.cc.email/v3/" in place of, "https://authz.constantcontact.com/oauth2/default/v1/" ...it just doesn't do anything, I get no response. I know I am supposed to get a prompt for the user to Allow/Deny access though I can't even get to that prompt because apparently I am being blocked
... View more