forked from supermodularxyz/simplegrants
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Google ログインの設定方法 | ||
|
||
Simplegrants は Google アカウントの SSO が実装されています。開発環境並びに、本番環境の設定は以下に従ってください。 | ||
|
||
## 1. GCP アカウントの作成と、プロジェクトの作成 | ||
|
||
[Google Could Platform](https://console.cloud.google.com/)にアクセスし、アカウントとプロジェクトを作成してください。 | ||
|
||
## 2. 同意画面の設定 | ||
|
||
OAuth 同意画面を作成します。テスト環境では特定のメールアドレスでのみログインできるようになっているので注意してください。 | ||
|
||
![](./images/googleauth-1.png) | ||
|
||
## 3. OAuth クライアント ID の作成 | ||
|
||
OAuth クライアント ID 作成画面から ID とシークレットを作成します。 | ||
|
||
![](./images/googleauth-2.png) | ||
|
||
## 4. 環境変数の設定 | ||
|
||
`/frontend/.env` の `GOOGLE_CLIENT_ID`、`GOOGLE_CLIENT_SECRET`にステップ 3 で作成した ID とシークレットを設定します。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.