© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
2w ago
•
11 replies
joco
Supabase UI Social Auth not redirecting to protected route
auth
Hi everyone
I
’m having a bit of trouble with the new Supabase UI Social Auth
(GitHub
) in a Next
.js App Router setup and could use some guidance
.
I
’m using Supabase
’s OAuth flow and the login itself works
, but after authenticating with GitHub
, it doesn
’t redirect to my protected route
.
I can see this in my terminal
:
GET /auth/oauth?code=xxxx&next=%2Fprotected 307
GET /auth/oauth?code=xxxx&next=%2Fprotected 307
Any advice or references would be greatly appreciated
. Thank you
!
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
Auth redirects to protected route
S
Supabase / help-and-questions
4y ago
Supabase Auth UI
S
Supabase / help-and-questions
4y ago
WeWeb And Google Supabase Auth Not redirecting/Authenticating
S
Supabase / help-and-questions
2mo ago
Supabase Auth Social Logins Timing out
S
Supabase / help-and-questions
5mo ago