Is there an endpoint to lookup a GoTrue user by e-...
# gotrue
m
Is there an endpoint to lookup a GoTrue user by e-mail only? The use case would be to mimic the default rate-limiting behaviour when requesting tokens (like magic links). We're using our own solution through the
/auth/v1/admin/generate_link
endpoint that GoTrue exposes. But since that one is not rate limitited, we need to find the user in the
auth.user
table to fetch the
recovery_sent_at
column ourselves.
Another use case would be to verify if a user already exists. Since the
admin
endpoint seems to ignore the global
disable signup
setting.