Copper Contributor

Hi All,


I need help in refreshing assertion conditions (NotOnOrAfter) in between the active session.

I want to refresh NotOnOrAfter value whenever the time has been expired. This value is part of Azure AD SAML response. Refresh should happen between SP and IDP without interaction of browser.(which means I want to make a silent refresh in the background during any API call)

<Conditions NotBefore="2019-08-17T12:53:23.403Z" NotOnOrAfter="2019-08-17T13:58:23.503Z">

The issue I am facing is whenever I call Azure AD (with /saml/login) it is redirecting to some location.Is there any SP to AD(IDP) call API with which we can refresh the Assertion conditions in background

If I am calling /saml/login from backend during any API call to refresh. It is redirecting with 302.but I face below issue

Access to XMLHttpRequest at ' (redirected from 'https://*****.com/***') from origin 'https://*****.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

1 Reply

@Shiva_Santosh Hi Shiva, did you manage to find a solution for this.