EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485995: "Your login has been denied by the system." error shows when login MicroStrategy Library using SAML authentication with ADFS as IDP


Mengran (Molly) Wang

Senior Cloud Support Engineer III • MicroStrategy


This article describes a typical scenario when SAML assertion is blank due to request not signed, which is required by ADFS Identity provider.

Symptom


When login library from ADFS using SAML authentication, below error shows:

ka04W000000OfYEQA0_0EM4W0000071Exl.jpeg

“Authentication Error: Your login has been denied by the system.”
There is below entry in SSO log:

{"@timestamp":"2023-03-09T13:44:39.385Z","@version":"1","message":"RestError [code=ERR003, iServerErrorCode=0, message=Login failed, httpStatusCode=401, ticketId=5206e602e77e465fa26a295098775611]","logger_name":"com.Strategy.auth.saml.SAMLLoginFailureHandler","thread_name":"https-openssl-nio-8443-exec-7","level":"ERROR","level_value":40000,"stack_trace":"org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException: No assertions found in response.

In SAML response, there’s no assertion appended and below value is seen:
urn:oasis:names:tc:SAML:2.0:status:Responder

ka04W000000OfYEQA0_0EM4W0000071Exv.jpeg

 

Cause


This is due to we upgraded org.opensaml from v2.6.7 to v.4.1.0 and replaced the spring-security-saml2-core framework with the newer, more secure, spring-security-saml2-service-provider v5.5.3 since Strategy 2021 Update 4.
While signed assertion is a must-have for v5.5.3, see here:
https://docs.spring.io/spring-security/site/docs/5.3.3.RELEASE/reference/html5/#servlet-saml2-login-feature-set
13.1.3. Saml 2 Login - Current Feature Set
3. Requires the assertion to be signed unless the response is signed.
 

Action


Add  

WantAuthnRequestsSigned="true"
in IdPMetadata.xml:

ka04W000000OfYEQA0_0EM4W0000071Ey5.jpeg

See more here: https://www2.Strategy.com/producthelp/current/SystemAdmin/WebHelp/Lang_1033/Content/saml_sign_auth_requests.htm
 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2023

Last Updated:

April 13, 2023