function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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.
JD ShaikhJD Shaikh
mayank soni 27mayank soni 27
best information site...https://www.hindialart.com/
emad ahmedemad ahmed
great 
لعبة من سيربح المليون (http://www.winmilliongame.com) - لعبة جاتا (http://www.gtagame100.com) - صب واي سيرفرس (http://www.subway-game.com) - زوما (http://www.zumagame100.com) - العاب كلاش (http://www.clash-games.com)
Status urduStatus urdu
status in urdu (https://statusinurdu.com/)
gshare servergshare server
Great work. I like the conten you gshare with us. You de server the best. activation & subciption to you. 😀 (https://aboserver.co/)