I have a multi-tenant environment in my application and i create the Local SP metadata for different clients based on alias. But when a SAML AuthnRequest is made for IDP the AssertionCosumerURL sent in the request is the one which is set by very first request and it doesn't change
I solved it by implementing the WebSSOProfile with my custom implementation and then changing the AssertionConsumerURL of AuthnRequest object by overriding the getAuthnRequest() method.