Searching FusionAuth Login Records by Email Domain: How to Export and Filter Data
-
I’d like to search login records by email domain to find out which users from a specific domain logged in during a certain time period. Right now, the login report in FusionAuth only seems to support searches by individual email addresses. Is there a way to search login records by domain name instead?
-
You’re correct that the Login Records report in FusionAuth only allows searches for individual users by their unique ID or email address. Unfortunately, it’s not possible to search login records directly by email domain through the UI or built-in report filters.
To achieve what you’re looking for, you’ll need to export the login records using FusionAuth’s Export Login Records API. Once you have the data exported (for example, as a CSV), you can then filter the records offline to identify users from a specific domain who logged in during your desired time frame.
You can read more about exporting login records here:
Export Login Records API -
-