B
B
BonBon Slick2021-07-04 21:27:10
Google
BonBon Slick, 2021-07-04 21:27:10

Google Error 400: redirect_uri_mismatch?

https://stackoverflow.com/questions/56436510/testi...
https://stackoverflow.com/questions/22595174/googl...
https://stackoverflow.com/questions/11485271/googl...

Authorization
failed Error 400: redirect_uri_mismatch
The JavaScript origin in the request, https://henty.loc , does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credent... to update the authorized JavaScript origins.
Read more…


60e1fd55a12a1223389314.png
60e1fe2d4b402398969130.png

I also tried removing all links.
The docks do not have or it is not clear where it is buried how to test with a local domain.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BonBon Slick, 2021-07-04
@BonBonSlick

Dug out in old mail

[Action Advised] Inactive registered OAuth URIs for your project(s) will be removed from Google Developer Console by July 12, 2021, for non-compliance with URI validation
rules 2021 10:03 PM to : I'm Google logo Hello Google Developer, We are writing to let you know that you have inactive OAuth redirect URIs and JavaScript origins in your Google Cloud project that are not in compliance with Google's OAuth URI validation rules. On July 12, 2021, we will remove all inactive URIs that are invalid. On September 13, 2021, we will remove all URIs that are not in compliance with redirect URIs and Javascript origins rules (including formerly inactive URIs trying to become active).
What do I need to do to be compliant?
If these inactive OAuth redirect URIs and JavaScript origins are no longer needed, you can remove them from your Google Cloud project. If they remain inactive, they will be automatically deleted after July 12, 2021.
If your app still needs to use these URIs, please update your app and OAuth configuration from the Google Developer Console to use redirect URIs or JavaScript origins that are compliant with the OAuth URI validation rules by September 13, 2021.
The following Google Cloud project(s), which has/have registered OAuth redirect URIs and JavaScript origins without usage for over 90 days, and which will be removed by July 12, 2021:
Project ID : ***
Client: ***
URI: https://localdomain.loc
If you have any questions or concerns regarding these changes, please review the documentation provided above in this email.
Sincerely,
The Google Developer Team
© 2021 Google LLC 1600 Amphitheater Parkway, Mountain View, CA 94043
You have received this mandatory service announcement to update you about important changes to Google services you use.

To solve the problem above, you need to either configure a reverse proxy local, or register a local domain in hosts, for example, 127.0.0.1 localdomain.com instead of .test / .loc, and so on. And of course SSl, self signed or certbot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question