Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: translate docs/guides/auth/auth-email #72

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions web/docs/guides/auth/auth-email.mdx
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
---
id: auth-email
title: 'Eメールでログイン'
description: Use Supabase to Authenticate and Authorize your users using email.
description: Supabaseを使用して、Eメールを使用してユーザーの認証と権限付与を行います。
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'

## 概要

Supabaseアプリケーションにメールログインを設定する
EメールでのログインをSupabaseアプリケーションに設定します

- Supabase[プロジェクト](https://app.supabase.io)にメール認証機能を追加する
- ログインコードをアプリケーションに追加する -[Javascript](https://github.com/supabase/supabase-js)|[Dart](https://github.com/supabase/supabase-dart)
- [Supabaseプロジェクト](https://app.supabase.io)にEメール認証機能を追加
- ログインのコードをアプリケーションに追加 - [Javascript](https://github.com/supabase/supabase-js) | [Dart](https://github.com/supabase/supabase-dart)

## SupabaseプロジェクトにEmailを追加
## SupabaseプロジェクトにEメールを追加

- Supab[aseプロジェクトのダッシュボード](https://app.supabase.io)に移動します。
- 左側のサイドバーで、`認証`アイコンをクリックします(上部付近)。
- リストから`「設定」`をクリックし、`「認証設定」`ページを表示します。
- `Site URL`にアプリの最終的な(ホストされた)URLを入力します(これは重要です)。
- `Email Auth`の項目で`Enable Email Signup`をオンにします。
- [Supabaseプロジェクトのダッシュボード](https://app.supabase.io)に移動します。
- 左側のサイドバーで、`Authentication`アイコンをクリックします(上部付近)。
- リストから`Settings`をクリックし、`Authentication Settings`ページを表示します。
- `Site URL`にアプリの最終的な(ホストされた)URLを入力します(これは重要です)。
- `Email Auth`の項目で`Enable Email Signup`をオンにします。
- `Save`をクリックします。

### クライアント・アプリにログインのコードを追加する
### クライアント・アプリにログインのコードを追加

ログインを追加するにはクライアント・ライブラリーをご利用ください。

Expand Down Expand Up @@ -63,7 +63,7 @@ final error = res.error;

</Tabs>

ボタン、リンク、またはUI要素から呼びだすことができるこの関数を追加します
ボタン、リンク、またはUI要素から呼びだすための関数を追加します

<Tabs
defaultValue="js"
Expand Down Expand Up @@ -99,7 +99,7 @@ function SignInWithEmail() {

</Tabs>

ログアウトするには次の関数を呼びだします
ログアウトするには次の関数を使います

<Tabs
defaultValue="js"
Expand Down Expand Up @@ -131,6 +131,6 @@ function SignOut() {

## リソース

- [Supabase アカウント - Free Tier OK](https://supabase.com)
- [Supabase JS クライアント](https://github.com/supabase/supabase-js)
- [Supabase Dart クライアント](https://github.com/supabase/supabase-dart)
- [Supabaseアカウント - 無料枠あります](https://supabase.com)
- [Supabase JSクライアント](https://github.com/supabase/supabase-js)
- [Supabase Dartクライアント](https://github.com/supabase/supabase-dart)