
CarrieP.61456 (Customer) asked a question.
I am looking to get SessionNotOnOrAfter in the SAML response when we successfully log in. I have checked the documentation (SAML Assertion Inline Hook Reference | Okta Developer) and tried adding the Inline Hook (SAML Assertion Inline Hook Reference | Okta Developer) which should allow us to set the SessionNotOnOrAfter value but I can’t find where the issueInstant attribute is to add /authentication/sessionLifetime to it.
Can explain how to add it or point to some documentation explaining it, that would be great!

Hello @CarrieP.61456 (Customer) Thank you for reacting out to our Community!
Please see our documentation below which has a sample for the JASON payload:
https://developer.okta.com/docs/reference/saml-hook/#sessionnotonorafter-support
Hope this helps and if this answered your question, please mark this as Best Answer!