BonBonSlick
@BonBonSlick
Junior Web Developer Trainee

Google Error 400: redirect_uri_mismatch?

https://stackoverflow.com/questions/56436510/testi...
https://stackoverflow.com/questions/22595174/googl...
https://stackoverflow.com/questions/11485271/googl...
Ошибка авторизации
Ошибка 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.
Подробнее…


60e1fd55a12a1223389314.png
60e1fe2d4b402398969130.png

Пробовал так же удалить все ссылки.
В доках нет или непонятно где закопано как протестировать с локальным доменом.
  • Вопрос задан
  • 44 просмотра
Решения вопроса 1
BonBonSlick
@BonBonSlick Автор вопроса
Junior Web Developer Trainee
Откопал в старой почте
[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
Входящие

Google Developers
2 июн. 2021 г., 22:03
кому: я

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 Amphitheatre Parkway, Mountain View, CA 94043

You have received this mandatory service announcement to update you about important changes to Google services you use.



Для решения проблемы выше необходимо или настроить реверс прокси локальный, или прописать локальниый домен в hosts к примеру 127.0.0.1 localdomain.com вместо .test / .loc и проч. И конечно же SSl, self signed или certbot
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы