-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Saving the Google Ads Refresh Token: redirect_uri_mismatch #190
Comments
Confirmed. BTW: the integration on google cloud side requires a full TLD, not a local IP for the redirect URL. Sure, http://localhost:1234/ will cut it, but that implies the app is running on a machine propagating localhost on the local network (in my case it does not as it runs on my NAS and my local DNS is not provided by the NAS). Using something like http://searpbear.local:1234/ doesn't work either. Only TLD endings accepted. "You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. This leaves me without a useful answer. My URI is valid. And SerpBear is reachable on this domain. UPDATE: |
same issue here. running on a ubuntu vps. |
Hello dear friends, I am unsuccessful in integrating SerpBear v 2.0.2 with Google Ads. The app is hosted on my personal server on a https subdomain proxied by Cloudflare. I get the redurect_uri_mismatch error and if I refresh that page I get the invalid_grant error. I have tried to have the Oath consent screen in test mode and as well as published. I read and tried most of the fixes suggested on these pages. NEXT_PUBLIC_APP_URL = Authorised redirect URIs in Google Cloud Platform, Credentials I do not even know what to do next. Could you please help me? Thank you! @towfiqi Alex |
Hi @towfiqi thanks for the amazing apps. I recently stumbled upon the When I follow the guide, I skipped this step to set nginx config & forget to add the apache equivalent of it.
So, after realizing the problem, I finally got Google Ads integration working. Here's my working Apache config for anyone that has the same setup with me.
|
@razrinn Thanks for your input. I am sure the folks above will find it useful. |
Following the setup instructions to link to google ads. I've watched the setup video multiple times but am running into the same problem. When authorizing the app I receive the following error message.
"Error Saving the Google Ads Refresh Token . Details: redirect_uri_mismatch. Please Try Again!"
I've confirmed that my environment variables list the FQDN being used for serpbear and that it matches under "Authorized redirect URIs". It is using the proper FQDN:port/api/adwords format shown in the setup guide and when viewing the URI directly I do receive the expected "No Code Provided By Google. Please Try Again!" response.
I'm sure it's some basic setting I've overlooked but as much as I search the documentation, I'm not seeing what I'm missing.
The text was updated successfully, but these errors were encountered: