はるさめ.dev

Supabase メールアドレス変更時の OTP の有効期限や桁数の変更

投稿日:Sat Apr 27 2024 07:58:47 GMT+0000 (Coordinated Universal Time)

手順

以下の手順で OTP の有効期限や桁数を変更できます。

  1. プロジェクトを選択
  1. Authentication を選択
  1. Providers を選択
  2. Email を選択
  1. 桁数と期限を入力して保存

補足

Supabase では OTP の有効期限を1時間以内にしておくことを推奨しているようです。

Production Checklist - Security | Supabase

Ensure that you've set the expiry for one-time passwords (OTPs) to a reasonable value that you are comfortable with. We recommend setting this to 3600 seconds (1 hour) or lower.