# GoogleAuthでログインできません

**URL:** https://meta.discourse.org/t/unable-to-login-using-googleauth/282980
**Category:** SSO
**Created:** [2023 年 10 月 21 日午後 1:45 UTC](https://meta.discourse.org/t/unable-to-login-using-googleauth/282980 "2023-10-21T13:45:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2023 年 10 月 21 日午後 1:54 UTC](https://meta.discourse.org/t/unable-to-login-using-googleauth/282980/2 "2023-10-21T13:54:57Z")

</div>

こんにちは @swati_vishnoi 👋 このトピックはもう読みましたか？

> [@Configure Google login for Discourse](https://meta.discourse.org/t/configure-google-login-for-discourse/15858):
>
> bookmark This guide explains how to set up Google login integration for your Discourse site by configuring OAuth2 credentials in the Google Cloud Console. person_raising_hand Required user level: Administrator Overview Google login allows users to sign in to your Discourse site using their Google accounts. This guide will walk you through: Creating a Google Cloud project Setting up OAuth consent Configuring credentials Enabling Google login in Discourse Create a Google Cloud project …

おそらく、`client id` の設定が間違っているか、設定されていないのではないでしょうか。`google oauth2` の設定が正しく行われているか確認してください。

> 1. Discourse のサイト設定で、`enable google oauth2 logins` を確認し、先ほど提供された `google oauth2 client id` と `google auth2 client secret` を入力してください。

---

_[View the full topic](https://meta.discourse.org/t/unable-to-login-using-googleauth/282980)._
