Filter Logs for Single Sign-On Flows in Auth0
Last Updated:
Overview
Administrators filter logs to view events generated by Single Sign-On (SSO) flows for enterprise connections. Search the logs in the Auth0 Dashboard or via the Management API using the strategy_type:"enterprise" query syntax.
Applies To
- Auth0
- Logs
- Single Sign-On (SSO)
- Management API
Solution
How are logs filtered in the Auth0 Dashboard?
Navigate to the logs section in the Auth0 Dashboard and apply the enterprise strategy type filter to view Single Sign-On events.
- Navigate to Monitoring, and then select Logs.
- Enter
strategy_type:"enterprise"in the search bar. - Append
AND type:"ss"for successful logins orAND type:"f"for failed logins or other searchable fields to refine the search.
Filter logs using the Management API.
Append the search query parameter to the log events endpoint to retrieve Single Sign-On logs programmatically.
- Construct a GET request to the
https://<tenantDomain>/api/v2/logsendpoint. - Append the query parameter
q=strategy_type:"enterprise"to the request URL. - Include additional parameters such as
AND type:"ss"orAND type:"f"in the query string to filter by success or failure events.