+ Start a Discussion
Nick KeehanNick Keehan 

Multiple Communities/Partners - Single Login Page for all Communties

Hi Experts

We have serveral partners each with thier own login URL, which we would like to bring into a single shared login screen.

e.g.
myinstance.force.com/partner1/login
​myinstance.force.com/partner2/login

Is there a way to have one single login screen and it login to the correct partner depending on thier username/profile?

e.g.
myinstance.force.com/login

Any help would be apreciated.

Nick
Best Answer chosen by Nick Keehan
Jayant DasJayant Das
Hi Nick,

Because the login pages are specific to the community, thus a possible approach could be to have a "common" community created for all partners with the same login page. You would then need to customize the login process to capture the access details and internally redirect it to the appropriate community based on what was captured in the first step.

You may like to refer to these links on login customization for pointers:
https://help.salesforce.com/articleView?id=networks_customize_login_page.htm&type=5
https://help.salesforce.com/articleView?id=networks_custom_login_apex_controller.htm&type=5


Not sure, but this may be a route.

Thanks,
Jayant

All Answers

Jayant DasJayant Das
Hi Nick,

Because the login pages are specific to the community, thus a possible approach could be to have a "common" community created for all partners with the same login page. You would then need to customize the login process to capture the access details and internally redirect it to the appropriate community based on what was captured in the first step.

You may like to refer to these links on login customization for pointers:
https://help.salesforce.com/articleView?id=networks_customize_login_page.htm&type=5
https://help.salesforce.com/articleView?id=networks_custom_login_apex_controller.htm&type=5


Not sure, but this may be a route.

Thanks,
Jayant
This was selected as the best answer
Laluna LawrenceLaluna Lawrence

Hey there, Im a software developer working in MGWIN88 (http://mgwin88s.com/) Inc. in Thailand.
I have fond of web development, technology, and programming. I’m also interested in education and entrepreneurship.