IdpEventLog

Represents the Identity Provider Event Log. This log records both problems and successes with inbound SAML or OpenID Connect authentication requests from another app provider. It also records outbound SAML responses when Salesforce is acting as an identity provider.

Introduced in API version 39.0.

describeSObjects(), query(), retrieve()

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the app provider seeking authentication.
  • Relationship name: App
  • Relationship type: relationship
  • Refers to: ConnectedApplication
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the authentication session.
  • Relationship name: AuthSession
  • Relationship type: relationship
  • Refers to: AuthSession
  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The error code for the authentication issue.
  • Possible values:
    • AppAccessDenied — AppAccessDenied — Error: App access denied
    • AppBlocked — AppBlocked — Error: App blocked
    • ClientUnapproved — ClientUnapproved — Error: Invalid grant
    • CodeExpired — CodeExpired — Error: Expired authorization code
    • ForceAuthNLogout — ForceAuthNLogout — User logged out due to forced authentication request
    • InternalError — InternalError — Error: Internal Error
    • InvalidAuthnRequest — InvalidAuthnRequest — Error: Unable to parse AuthnRequest from service provider
    • InvalidClientCredentials — InvalidClientCredentials — Error: Invalid client credentials
    • InvalidCode — InvalidCode — Error: Invalid authorization code
    • InvalidDeviceId — InvalidDeviceId — Error: Invalid device ID
    • InvalidIdpEndpoint — InvalidIdpEndpoint — Error: Invalid Identity Provider Endpoint URL
    • InvalidIssuer — InvalidIssuer — Error: Invalid Issuer
    • InvalidScope — InvalidScope — Error: Invalid scope(s)
    • InvalidSessionLevel — InvalidSessionLevel — Error: Invalid session level
    • InvalidSettings — InvalidSettings — Error: IdP certificate is invalid or does not exist
    • InvalidSignature — InvalidSignature — Error: Invalid Signature
    • InvalidSp — InvalidSp — Error: Misconfigured or invalid service provider
    • InvalidSpokeSp — InvalidSpokeSp — Error: Invalid spoke SP settings
    • InvalidUserCredentials — InvalidUserCredentials — Error: Invalid user credentials
    • NoAccess — NoAccess — Error: User does not have access to this service provider
    • NoCustomAttrValue — NoCustomAttrValue — Error: User does not have a value for the subject custom attribute
    • NoCustomField — NoCustomField — Error: Custom field not found
    • NoSpokeId — NoSpokeId — Error: No Spoke ID found
    • NoSubdomain — NoSubdomain — Error: No My Domain deployed in the org
    • NoUserFedId — NoUserFedId — Error: User does not have a Federation Identifier selected
    • OauthError — OauthError — OAuth Error
    • Success — Success
    • UnableToResolve — UnableToResolve — Error: Unable to resolve request into a Service Provider
    • UnknownError — UnknownError — Unknown Error
  • Type: string
  • Properties: Filter, Nillable, Sort
  • Description: The identity (username) of the user being authenticated.
  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The code describing how the authentication request was initiated.
  • Possible values:
    • IdP — IdP — IdP-Initiated SAML
    • OauthAuthorize — OauthAuthorize — OAuth Authorization
    • OauthTokenExchange — OauthTokenExchange — OAuth Token Exchange
    • SP — SP — SP-Initiated SAML
  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Relationship name: OauthConsumer

  • Relationship type: relationship

  • Refers to: OauthConsumer

  • Type: boolean
  • Properties: Filter
  • Description: Whether a logout URL has been assigned to the app. This URL is where users are redirected when they log out.
  • Type: string
  • Properties: Filter, Sort
  • Description: The authentication URL of the SAML provider.
  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Relationship name: ServiceProvider

  • Relationship type: relationship

  • Refers to: ServiceProvider

  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description:

    The type of SSO. Options are:

    • 0–SAML
    • 1–OpenID Connect
  • Type: datetime
  • Properties: Filter, Nillable, Sort
  • Description: The date and time on which the event occurred.
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: The ID of the user seeking authentication.
  • Relationship name: User
  • Relationship type: relationship
  • Refers to: User