© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
What is the correct way to implement the next query param in auth/confirm routes? - Supabase
S
Supabase
•
6mo 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.
46,176
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
5mo ago
Filter query unless filter param is null
S
Supabase / help-and-questions
4y ago