Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
user is undefined on pages which arent the login page - Supabase
S
Supabase
β’
4y ago
β’
2 replies
!CANDY
user is undefined on pages which arent the login page
As the title says
, when I try to get the user object with
supabase.auth.api.getUser(context.req)
supabase.auth.api.getUser(context.req)
it is undefined on any page which isnt the login page
.
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
withPageAuth, user is always undefined
S
Supabase / help-and-questions
4y ago
Allow SELECT on column which references another column which references the user
S
Supabase / help-and-questions
4y ago
withPageAuth user undefined for authenticated user
S
Supabase / help-and-questions
4y ago
2FA Login Issue β βAuth session missing!β on Supabase Login Page
S
Supabase / help-and-questions
8mo ago