Skip to content

Commit 794f763

Browse files
fix(security): restrict redirect wildcard to project namespace
https://smartmanagementsystem-*-emiyakiritsugu3s-projects.vercel.app/auth/callback (was https://**.vercel.app/auth/callback — matched any Vercel deploy worldwide)
1 parent 6f7dfc5 commit 794f763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

supabase/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ site_url = "http://localhost:3000"
155155
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
156156
additional_redirect_urls = [
157157
"http://localhost:3000/auth/callback",
158-
"https://**.vercel.app/auth/callback",
158+
"https://smartmanagementsystem-*-emiyakiritsugu3s-projects.vercel.app/auth/callback",
159159
"https://smartmanagementsystem.vercel.app/auth/callback"
160160
]
161161
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).

0 commit comments

Comments
 (0)