---
title: "Google 登入突然失效怎麼辦？"
sidebarTitle: "Google 登入突然失效"
description: "如果 Google 登入突然失效並出現錯誤代碼 400: redirect\\uri\\mismatch，可能是因為您的「Google 登入」設定中的 redirect\\uri 與實際應用程式中的不一致。"
source: "https://help.teachify.com/zh-tw/article/google-qwky12/"
crispId: "qwky12"
updated: "13/10/2023"
---
如果 Google 登入突然失效並出現錯誤代碼 400: redirect\_uri\_mismatch，可能是因為您的「Google 登入」設定中的 redirect\_uri 與實際應用程式中的不一致。

![redirect uri mismatch](https://help-media.loopwise.com/media/35f226226d1d.jpg)

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

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

1.  前往 Google Cloud Console：

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

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

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

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

![已授權的重新導向 URL](https://help-media.loopwise.com/media/33dd60d4374a.jpg)
