I have two applications/clients in my auth0.com tenant. How do I see which users are logging into which application?
Hey @Sean_McIlvenna !
Are you looking for more from a logging/visibility approach? If so, you can search logs in your dashboard (monitoring → logs) using the Log Search Query Syntax which may look like:
type: "s" AND client_id: YOUR_CLIENT_ID
OR using the Management API :
GET /api/v2/logs?q=type:"s" AND client_id:YOUR_CLIENT_ID&per_page=20&page=0
Authorization: Bearer YOUR_ACCESS_TOKEN
Yah, but the logs only seem to go back 3 days. Guessing I have to be on a paid plan to see more logs…
That’s correct, you can find our log retention policy here:
So, are there other options beyond the logs (with limited retention unless paying for more), that would allow me to see how many of the 3k users I have in my tenant access each of the two apps?
You might be able to use the Management API /api/v2/grants and add a client_id
param to see which users have authorized a specific client.
More forward looking, you could also look into log streaming or hitting an API from within a Post Login Action with the relevant user_id
and client_id
.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.