I am validating a saml token using thumbprint and want to set the expiry value of oauth token as per the saml token that is being validated.
I was able to get the value in seconds, but the oauth policy is not accepting the vaiable in the expires_in field.
I tried to pass the variable in the below ways.
saml_sessionLength
saml_sessionLength
{saml_sessionLength}
Error :
Error creating object
Error occurred while validation of bean OA_GenerateAccessTokenSAML.xml. Reason: - Schema validation failed. Cause : For input string: ‘’. Line number : 8. Column number : 14. File name : OA_GenerateAccessTokenSAML.xml..
The expiry time can also be set at runtime using a reference to a flow variable or it can be hard-coded.
E.g. In the below configuration, expiresIn is set from with the value specified in the query param “expires_in”. If this value is not specified then it’s set as 1000 milli seconds by default.