Skip to content

Commit 1440bf0

Browse files
authored
chore: update auth url config for preview (supabase#30544)
1 parent 0c99d0d commit 1440bf0

File tree

7 files changed

+6
-195
lines changed

7 files changed

+6
-195
lines changed

.github/workflows/config-preview.yaml

-63
This file was deleted.

.github/workflows/config-production.yaml

-28
This file was deleted.

supabase/config.toml

+6-4
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ port = 54323
3030
[inbucket]
3131
# Port to use for the email testing server web interface.
3232
port = 54324
33-
smtp_port = 54325
34-
pop3_port = 54326
3533

3634
[storage]
3735
# The maximum file size allowed (e.g. "5MB", "500KB").
@@ -42,7 +40,11 @@ file_size_limit = "50MiB"
4240
# in emails.
4341
site_url = "http://localhost:3000"
4442
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
45-
additional_redirect_urls = ["https://localhost:3000"]
43+
additional_redirect_urls = [
44+
"https://*-supabase.vercel.app/*/*",
45+
"https://supabase.com/*/*",
46+
"http://localhost:3000/*/*",
47+
]
4648
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one
4749
# week).
4850
jwt_expiry = 3600
@@ -61,7 +63,7 @@ enable_confirmations = false
6163
# Uncomment the following to use gh oAuth app locally with your own test app
6264
# to use env vars locally, run > `source ./supabase/.env && supabase [command...]`
6365
[auth.external.github]
64-
enabled = true
66+
enabled = false
6567
client_id = "env(GITHUB_CLIENT_ID)"
6668
secret = "env(GITHUB_SECRET)"
6769
# Overrides the default auth redirectUrl.

supabase/remotes/.gitignore

-34
This file was deleted.

supabase/remotes/preview.tf

-41
This file was deleted.

supabase/remotes/production.tf

-15
This file was deleted.

supabase/remotes/provider.tf

-10
This file was deleted.

0 commit comments

Comments
 (0)