Junior Web Developer Trainee

Google Error 400: redirect_uri_mismatch?
Ошибка авторизации
Ошибка 400: redirect_uri_mismatch
The JavaScript origin in the request, https://henty.loc, does not match the ones authorized for the OAuth client. Visit to update the authorized JavaScript origins.


Пробовал так же удалить все ссылки.
В доках нет или непонятно где закопано как протестировать с локальным доменом.
  • Вопрос задан
  • 44 просмотра
Решения вопроса 1
@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.


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 к примеру вместо .test / .loc и проч. И конечно же SSl, self signed или certbot
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

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

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