© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Open redirect concern - Supabase
S
Supabase
•
6mo 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.
46,176
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Middle East Region Availability (Latency Concern)
S
Supabase / help-and-questions
4mo ago
Studio buggy redirect
S
Supabase / help-and-questions
4mo ago
Redirect URL configuration
S
Supabase / help-and-questions
9mo ago
Redirect after login
S
Supabase / help-and-questions
4y ago