© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
4 replies
erztemplerobba
Get user from auth.api
For my administrator page
, I want to get a single user from the auth table
(regardless if logged in or not
)
. I am currently using
await supabase.auth.api.listUsers()
await supabase.auth.api.listUsers()
to get
all
users but I want to query only one specific user with their uid or email address
.
In the docs
, I
've found only
user()
user()
and
getUser()
getUser()
which both seem to only get the user data of a currently logged in user
.
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
get user function supabase.auth.user()
S
Supabase / help-and-questions
4y ago
Get auth user in function
S
Supabase / help-and-questions
4y ago
Get User by Phone Number or Email (supabase.auth.api)
S
Supabase / help-and-questions
4y ago
Cannot delete user from auth
S
Supabase / help-and-questions
4y ago