SAML login is setting 2 saml_request_path cookie
I have created a custom AuthenticationInfoPostProcessor service so that I could sent saml_request_path and redirect the authenticated user to the appropriate page. However, after authentication (i.e.after /saml_login request), there are 2 saml_request_path set in the response - one set to the value I'm setting in the custom AuthenticationInfoPostProcessor service and one with a value of null. The saml_request_path with null value redirects to my homepage.
How do I set saml_request_path so that the user is redirected to the appropriate page? How do I prevent the second saml_request_path cookie from being added?