IBM Support

Error message: "https://{<hostname>/<portnumber>} is not a valid audience" when integrating SAML with UCR 6.2.5 and later using OKTA

Troubleshooting


Problem

SSO Login Fails in UCRwith errors: "https://{<hostname>/<portnumber>} is not a valid audience for this Response. Please contact your Administrator to correctly configure SAML Settings."

Symptom

Debug enabled logs:
onelogin.saml2.security.logoutresponse_signed=false, onelogin.saml2.idp.single_logout_service.binding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect, onelogin.saml2.idp.single_logout_service.url=,
onelogin.saml2.security.want_messages_signed=false, onelogin.saml2.sp.nameidformat=urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, onelogin.saml2.security.requested_authncontextcomparison=exact, onelogin.saml2.security.requested_authncontext=urn:oasis:names:tc:SAML:2.0:ac:classes:Password, onelogin.saml2.security.want_assertions_encrypted=false, onelogin.saml2.sp.assertion_consumer_service.binding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST, onelogin.saml2.security.want_xml_validation=true, onelogin.saml2.sp.single_logout_service.binding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect, onelogin.saml2.sp.privatekey=, onelogin.saml2.idp.single_sign_on_service.url=https://<IDP>app/dev-15532776_oktaintegrationucr_1/exk8bxuwgnMagC6RN5d7/sso/saml,
onelogin.saml2.strict=true, onelogin.saml2.sp.assertion_consumer_service.url=https://<hostname>:8443/dashboard,
onelogin.saml2.security.sign_metadata=,
onelogin.saml2.sp.x509cert=,
onelogin.saml2.security.authnrequest_signed=false,
onelogin.saml2.debug=true,
onelogin.saml2.sp.entityid=https://<hostname>:8443,
onelogin.saml2.security.signature_algorithm=http://www.w3.org/2001/04/xmldsig-more#rsa-sha256, onelogin.saml2.sp.single_logout_service.url=https://<hoastname>:8443/saml_logout, onelogin.saml2.idp.entityid=http://www.okta.com/exk8bxuwgnMagC6RN5d7,
onelogin.saml2.security.want_assertions_signed=false}
2023-03-01 00:01:42,551 ERROR POST- com.onelogin.saml2.authn.SamlResponse - https://<hostname>:8443 is not a valid audience for this Response
2023-03-01 00:01:42,555 ERROR POST- com.onelogin.saml2.Auth - processResponse error. invalid_response
2023-03-01 00:01:42,563 DEBUG GET- com.urbancode.urelease.web.filter.AuthenticationFilter - User =null
2023-03-01 00:01:42,563 DEBUG GET- com.urbancode.urelease.web.filter.AuthenticationFilter - URI: /saml_logout

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS4GCC","label":"IBM UrbanCode Release"},"ARM Category":[{"code":"a8m50000000CexQAAS","label":"UrbanCode Release-\u003EManage Security"}],"ARM Case Number":"TS011550147","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
22 March 2023

UID

ibm16963113