<div dir="ltr">Hi,<div><br></div><div>I'm trying to use the OIDC plugin with Shibboleth 4.2.1.</div><div><br></div><div>All is working fine except when the service provider try to renew the cookie after 10mn of inactivity.</div><div><br></div><div>In fact, after client inactivity the browser try to do a Cors Preflight request. But the request fails with  a 403 status.</div><div><br></div><div><div>that seems related to the cross-site request forgery mitigation but i can't find out a good way to put an exception on the oidc profile endpoint.</div><div><br></div><div>Here is the Cors configuration that i put in my idp webapp web.xml :</div><div><br></div><div><!-- Cors Authorization --><br><filter><br>  <filter-name>CorsFilter</filter-name><br>  <filter-class>org.apache.catalina.filters.CorsFilter</filter-class><br>  <init-param><br>    <param-name>cors.allowed.origins</param-name><br>    <param-value><br>        <a href="https://sp.exemple.net/" target="_blank">https://sp.exemple.net</a><br>    </param-value><br>  </init-param><br>  <init-param><br>    <param-name>cors.allowed.methods</param-name><br>    <param-value>GET,POST,HEAD,OPTIONS</param-value><br>  </init-param><br>  <init-param><br>    <param-name>cors.allowed.headers</param-name><br>    <param-value><br>        Origin,<br>        X-Requested-With,<br>        Content-Type, Accept,<br>        Access-Control-Request-Method,<br>        Access-Control-Request-Headers,<br>        Authorization<br>    </param-value><br>  </init-param><br>  <init-param><br>    <param-name>cors.support.credentials</param-name><br>    <param-value>true</param-value><br>  </init-param><br></filter><br><br><filter-mapping><br>  <filter-name>CorsFilter</filter-name><br>  <url-pattern>/profile/oidc/*</url-pattern><br></filter-mapping><br></div><div><br></div><div>Here is the configuration i'm using on the service provider :</div><div><br></div><div>Debian 11 with apache2.4.54 and mod-auth-openidc 2.4.9</div><div><br></div><div>And on my identity provider :</div><div><br></div><div>Debian 11 with tomcat9.0.43, shibboleth 4.2.1 with idp-plugin-oidc-op 3.0.0</div><div><br></div><div>Thanks in advance for your help.</div><div><br></div><div>Best,</div></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Armando Martins<br></div></div>