> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.teachify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Google 登入突然失效怎麼辦？

如果 Google 登入突然失效並出現錯誤代碼 400: redirect_uri_mismatch，可能是因為您的「Google 登入」設定中的 redirect_uri 與實際應用程式中的不一致。

![redirect uri mismatch](https://storage.crisp.chat/users/helpdesk/website/31e42744710f7a0/cleanshot-2023-08-09-at-152724_9um3op.jpg)

這個問題通常出現於 redirect_uri 被設定為錯誤的網域。

為了解決這個問題，請按照以下步驟檢查並修復 redirect_uri：

1. 前往 Google Cloud Console：

登入您的 Google Cloud Console 帳戶（https://console.cloud.google.com/）。
選擇正確的專案：

2. 確保您選擇正確的專案，該專案是與您應用程式相關的專案。


3. 確認「已授權的重新導向 URL 」

參考 https://help.useteachify.com/zh-tw/article/google-1wcme41/ 這篇教學中的第十步，確認「已授權的重新導向 URL 」填寫正確

![已授權的重新導向 URL](https://storage.crisp.chat/users/helpdesk/website/31e42744710f7a0/cleanshot-2023-10-13-at-153141_m7y857.jpg)