I'm trying to setup salesforce as the IdP and allow SP initiated login. I've got it working just fine using SAML 2.0 for normal salesforce users (Licence = Salesforce). However I would also like it to work for my community users (License = Overage Customer Portal Manager & Gold Partner).
The problem is that it doesn't work for my community users as my SP's redirect url is to our my.domain site (https://companyname.my.salesforce.com/) and not our community login (https://companyname.force.com/login). A customer/partner’s credentials will not work on our my.domain site nor will a regular user’s credentials work on our community login page.
Is there a way to dynamically redirect to the appropriate login page or do we need to create a custom login screen that determines where the credentials need to be sent? Or is there some other type of solution for this problem?
Thanks in advance!