We have multiple websites in same instance with different domain. Currently we are using Adobe saml 2.0 configuration for authenticating one of the sites. Now we need have authentication for other domains too. I have tried adding separate adobe saml configurations for each domain. We have single IDP url and separate SPID for each domain and path given for all was "/". while login in to any site, it is redirecting to the url provided in the handler with highest service ranking.
I tried providing the path field according to the domain, (ex. for www.abc.com, path as /content/abc and so), then I am getting below exception.
Caused by: org.apache.sling.api.resource.PersistenceException: Resource at '/saml_login' is not modifiable.
I forgot to update on the this thread. I was able to find the solution and it is exactly what you have mentioned in your Comment. Endpoint URLS need to have full content path before /saml_login even if the path is shortened on actual website.