SAML is not designed for SPA.
“The SAML SSO flows were designed with a browser in mind sending SAML messages to a web application either as HTTP redirects or HTTP Posts. Authentication sessions are then established in this browser session.”
OpenID Connect is the correct protocol to use.
Why is SAML being enforced?
Maybe this: