Filter Logs for Single Sign-On Flows in Auth0

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.

  1. Navigate to Monitoring, and then select Logs.
  2. Enter strategy_type:"enterprise" in the search bar.
  3. Append AND type:"ss" for successful logins or AND 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.

  1. Construct a GET request to the https://<tenantDomain>/api/v2/logs endpoint.
  2. Append the query parameter q=strategy_type:"enterprise" to the request URL.
  3. Include additional parameters such as AND type:"ss" or AND type:"f" in the query string to filter by success or failure events.

Related References

Recommended content

No recommended content found...