feat: add magic-link admin login and speaker materials portal

This commit is contained in:
Lago committed 2026-10-07 18:27:56 +02:00
1 parent 3adc0fd58f
commit 8d8d3ae4b8
28 files changed
+1623 -232

No files matched your search

+22 -12
View File
@@ -160,7 +160,17 @@ site_url = "http://127.0.0.1:3000"
# The public URL that Auth serves on. Defaults to the API external URL with `/auth/v1` appended.
# external_url = ""
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
additional_redirect_urls = ["https://127.0.0.1:3000"]
additional_redirect_urls = [
"https://127.0.0.1:3000",
"http://localhost:3000",
"http://127.0.0.1:3000",
"http://localhost:3000/speaker",
"http://localhost:3000/speaker/secret",
"http://127.0.0.1:3000/speaker",
"http://127.0.0.1:3000/speaker/secret",
"http://localhost:3001/auth/callback",
"http://127.0.0.1:3001/auth/callback",
]
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
jwt_expiry = 86400
# JWT issuer URL. If not set, defaults to auth.external_url.
@@ -196,7 +206,7 @@ password_requirements = ""
[auth.rate_limit]
# Number of emails that can be sent per hour. Requires auth.email.smtp to be enabled.
email_sent = 2
email_sent = 100
# Number of SMS messages that can be sent per hour. Requires auth.sms to be enabled.
sms_sent = 30
# Number of anonymous sign-ins that can be made per hour per IP address. Requires enable_anonymous_sign_ins = true.
@@ -227,21 +237,21 @@ enable_confirmations = false
# If enabled, users will need to reauthenticate or have logged in recently to change their password.
secure_password_change = false
# Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email.
max_frequency = "1s"
max_frequency = "60s"
# Number of characters used in the email OTP.
otp_length = 6
# Number of seconds before the email OTP expires (defaults to 1 hour).
otp_expiry = 3600
# Use a production-ready SMTP server
# [auth.email.smtp]
# enabled = true
# host = "smtp.sendgrid.net"
# port = 587
# user = "apikey"
# pass = "env(SENDGRID_API_KEY)"
# admin_email = "[email protected]"
# sender_name = "Admin"
# Local Auth explicitly opts into real email delivery; password stays in a private env file.
[auth.email.smtp]
enabled = true
host = "heracles.mxrouting.net"
port = 465
user = "[email protected]"
pass = "env(CONVIVO_SMTP_PASSWORD)"
admin_email = "[email protected]"
sender_name = "Convivo APP"
# Uncomment to customize email template
# [auth.email.template.invite]