1

Is it possible to have a single login page that both Customer Portal and Communities users can login with? We are in the process of transitioning users from Customer Portal to Communities. We would like to allow everyone to continue to login using the same URL they were perviously using to access Customer Portal. When they get transitioned to Communities (different profile), they would be automatically redirected to the new communities instead of customer portal.

Not sure if this is possible as Customer Portal uses the Site.Login() method and communities uses Network.forwardToAuthPage(). Wondering if anyone has run into a similar use-case and how you might have solved it.

1

When you have a customer portal and a customer community, you can't use the same log-in url with redirection between the two depending on the user id.

  • any opinions on how to handle transitioning existing users? – NSjonas Jan 8 '15 at 19:20
  • That's really a matter of what's in your existing portal, what existing content you have that users may want access to, how you plan to notify users of the transition to communities, and how long you plan to keep both of them open. I think there too many factors along those lines that would need to be considered before I could give you a meaningful opinion. – crmprogdev Jan 8 '15 at 21:08
0

Since its not possible for both to login with the same URL, here is what we came up with:

  1. Try to direct new communities users to use the new login URL (email).
  2. Should they end up at the old portal login:

    a. When they enter their credentials, before actually login them in, retrieve the users profile.

    b. If this profile is associated with the new communities, display a message that they need to login into at a different URL.

    c. Redirect them using javascript after X # of seconds (also provide a link incase they have javascript disabled).

I'm aware that this could be seen as a security hole, as you give feedback to hackers if the username exists in the system. I think that Salesforce's strict password requirements and lockout policy should negate this though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.