Clarity SAML error "is not a valid audience for this Response"
search cancel

Clarity SAML error "is not a valid audience for this Response"

book

Article ID: 271954

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When setting up SAML, we are getting error:

ERROR 2023-08-19 13:52:23,564 [http-nio-80-exec-6] filter.SAMLFilter (clarity:xxxxxxxxx:-1:none) Error occurred authenticating with SAMLFilter
java.lang.RuntimeException: Unauthenticated SAML response received: XXXXXXXXXXXX is not a valid audience for this Response

Environment

Release : Any

Resolution

  1. The EntityID in Clarity SAML Configs is not matching the EntityID in the IDP settings. 
  2. Please check both and ensure both are set to something as follows:
    https://<Servername>/niku/nu#action:union.samlMetadata
  3. Restart is not typically required, test again