Skip to content

Commit

Permalink
chore: add note about pro plan
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Dec 11, 2024
1 parent b759596 commit e98b3a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions pkg/config/templates/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ enabled = true
# The maximum file size allowed (e.g. "5MB", "500KB").
file_size_limit = "50MiB"

# Image transformation API is available to Supabase Pro plan.
[storage.image_transformation]
enabled = false

Expand Down Expand Up @@ -184,24 +185,25 @@ message_service_sid = ""
# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:
auth_token = "env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN)"

# Multi-factor-authentication is available to Supabase Pro plan.
[auth.mfa]
# Control how many MFA factors can be enrolled at once per user.
max_enrolled_factors = 10

# Control use of MFA via App Authenticator (TOTP)
# Control MFA via App Authenticator (TOTP)
[auth.mfa.totp]
enroll_enabled = false
verify_enabled = false

# Configure Multi-factor-authentication via Phone Messaging
# Configure MFA via Phone Messaging
[auth.mfa.phone]
enroll_enabled = false
verify_enabled = false
otp_length = 6
template = "Your code is {{ `{{ .Code }}` }}"
max_frequency = "5s"

# Configure Multi-factor-authentication via WebAuthn
# Configure MFA via WebAuthn
# [auth.mfa.web_authn]
# enroll_enabled = true
# verify_enabled = true
Expand Down
6 changes: 4 additions & 2 deletions pkg/config/testdata/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ enabled = true
# The maximum file size allowed (e.g. "5MB", "500KB").
file_size_limit = "50MiB"

# Image transformation API is available to Supabase Pro plan.
[storage.image_transformation]
enabled = true

Expand Down Expand Up @@ -189,6 +190,7 @@ message_service_sid = "message_service_sid"
# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:
auth_token = "env(TWILIO_AUTH_TOKEN)"

# Multi-factor-authentication is available to Supabase Pro plan.
[auth.mfa]
max_enrolled_factors = 10

Expand All @@ -197,15 +199,15 @@ max_enrolled_factors = 10
enroll_enabled = true
verify_enabled = true

# Configure Multi-factor-authentication via Phone Messaging
# Configure MFA via Phone Messaging
[auth.mfa.phone]
enroll_enabled = true
verify_enabled = true
otp_length = 6
template = "Your code is {{ `{{ .Code }}` }}"
max_frequency = "5s"

# Configure Multi-factor-authentication via Phone Messaging
# Configure MFA via Phone Messaging
[auth.mfa.web_authn]
enroll_enabled = true
verify_enabled = true
Expand Down

0 comments on commit e98b3a2

Please sign in to comment.