Spring basic auth + saml2 okta configuration

Hi all, struggling with implementing stateless JWT authentication and session-based SAML2 auth with Okta provider. I tried to split them on 2 different configurations and it works only with one defenite config if I place @Order() annotation on both of them, regardless of antMatchers().permitAll() config.
If I delete @Order it seems like saml filterchain acts all the time. So, is there any workaround here to mix configs?