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

CLI project link SASL authentication failed #3077

Open
gicharukabare opened this issue Jan 27, 2025 · 0 comments
Open

CLI project link SASL authentication failed #3077

gicharukabare opened this issue Jan 27, 2025 · 0 comments

Comments

@gicharukabare
Copy link

Describe the bug

CLI project link SASL authentication failed

To Reproduce
C:\Windows\System32>npx supabase link --project-ref=scibidivertcbhvkfoiq
WARN: no seed files matched pattern: supabase/seed.sql
Enter your database password (or leave blank to skip):
Finished supabase link.
WARNING: Local config differs from linked project. Try updating supabase\config.toml
diff supabase\config.toml scibidivertcbhvkfoiq
--- supabase\config.toml
+++ scibidivertcbhvkfoiq
@@ -50,8 +50,7 @@

[auth]
enabled = true
-site_url = "http://127.0.0.1:3000"
-additional_redirect_urls = ["https://127.0.0.1:3000"]
+site_url = "http://localhost:3000"
jwt_expiry = 3600
enable_refresh_token_rotation = true
refresh_token_reuse_interval = 10
@@ -64,8 +63,8 @@
[auth.mfa]
max_enrolled_factors = 10
[auth.mfa.totp]
-enroll_enabled = false
-verify_enabled = false
+enroll_enabled = true
+verify_enabled = true
[auth.mfa.phone]
enroll_enabled = false
verify_enabled = false
@@ -83,9 +82,9 @@
double_confirm_changes = true
enable_confirmations = false
secure_password_change = false
-max_frequency = "1s"
-otp_length = 6
-otp_expiry = 3600
+max_frequency = "1m0s"
+otp_length = 6
+otp_expiry = 86400
[auth.email.template]
[auth.sms]
enable_signup = false

Expected behavior
Deploy the Edge Functions:

Deploy create-payment-intent function

supabase functions deploy create-payment-intent --no-verify-jwt

Deploy stripe-webhook function

supabase functions deploy stripe-webhook --no-verify-jwt

OS WIN 11
CLI 2.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant