Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Open redirect concern - Supabase
S
Supabase
•
4mo ago
•
1 reply
sean-atomic
Open redirect concern
Hey
! I
'm implementing OAuth for Github following your guide found here
:
https://supabase.com/docs/guides/auth/social-login/auth-github
I noticed that the auth callback flow has an open redirect here
:
return NextResponse.redirect(`https://${forwardedHost}${next}`)
return NextResponse.redirect(`https://${forwardedHost}${next}`)
My security team has concerns about this and I was wondering what the need for this line is
? Thanks
!
Login with GitHub | Supabase Docs
Add GitHub OAuth to your Supabase project
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Middle East Region Availability (Latency Concern)
S
Supabase / help-and-questions
2mo ago
Studio buggy redirect
S
Supabase / help-and-questions
2mo ago
Redirect URL configuration
S
Supabase / help-and-questions
8mo ago
Redirect after login
S
Supabase / help-and-questions
4y ago