googleapis / google-api-php-client

A PHP client library for accessing Google APIs
Apache License 2.0
9.2k stars 3.52k forks source link

What is redirect url #2559

Closed syed-ahmad-dilshad closed 4 months ago

syed-ahmad-dilshad commented 5 months ago

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error If you are a developer of this app, see error details. Error 400: redirect_uri_mismatch

Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=https://smmpro.one/ Related developer documentation

saranshdhingra commented 4 months ago

The redirect URI is the URL where your oauth enabled application redirects to with the required access token/code. You can set this while creating a new oAuth client ID in the Google cloud console.

image

Please read about this in the Authentication section of the readme.