Add beter ways to query users as an admin #21721
Unanswered
janglad
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
You can not query the
auth.userstable. I get why this is, but the providedadminapi's are quite lackluster. An obvious gap is that you can not get a user by their email address, if you wanted to do this you'd need to query yourpublic.users(assuming you have one), and then get the user by the id you retrieve that way.The specific reason I ask for this though is because I'd like to get some analytic data. Like get a total user count, get count of users that have signed in the last month, ... . Obviously you could solve this with functions in Supabase itself, but this IMO not an ideal solution.
All reactions