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
s9s9 

how to create custom login page using apex and vf pages?

Hi


how to create custom login page using apex and vf pages?


Thanks&Regards
S9
Ashish_SFDCAshish_SFDC
Hi S9, 


We do not have an option to change the login screen as of now, but one way is to create a branded page, copy the credentials and redirect to Login Salesforce in the backgroud using DNS and URL  hardcoding or faking but again it is not recommended. 

You might not be able to get the URL similar to what you have mentioned but what you can do is built a Sites page(VisualForce) and have it as the Homepage for your site. In the page have a form, for users to enter their credentials and use the AJAX toolkit API to redirect to salesforce. You can have your clients logo and branding in the page accordingly.

For more details, please check this http://brianpeddle.com/2011/06/06/building-a-custom-salesforce-login/


Regards,
Ashish