Search code examples
wso2samlsaml-2.0spring-samlwso2-identity-server

WSO2 Identity Server Assertion without SessionNotOnOrAfter in AuthnStatement


I noticed that assertion from WSO2 Identity Server have not property SessionNotOnOrAfter in AuthnStatement.

How can I force it to be added?


Solution

  • How @farasath said, this was added in later versions than 5.1.0.

    For 5.1.0 workaround can be retrieving expiration time of session from NotOnOrAfter property in Conditions tag in assertion.