© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4mo ago
•
7 replies
Anthony Garand
What is the correct way to implement the next query param in auth/confirm routes?
In the auth
/confirm routes for Supabase UI the
"next
" search param is only used if it starts with
/
/
.
In the Supabase SSR docs it just uses it as is
.
If I use the implementation from Supabase UI then it would never work because the redirect URL needs to have the full domain in it
.
I don
't think it would be a security issue because that URL can only ever be from the allowed URL list
. Am I missing something
?
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
[RESOLVED] if confirmation by email is enable in auth, what's the correct way to deal with it.
S
Supabase / help-and-questions
4y ago
What is the "right way" to use URL Configuration? Or auth in localhost?
S
Supabase / help-and-questions
3y ago
Issue with "Confirm your email" auth (using next.js)
S
Supabase / help-and-questions
4mo ago
Filter query unless filter param is null
S
Supabase / help-and-questions
4y ago