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
satyaprakash palsatyaprakash pal 

Integration:

How to Customize logout to redirect to a different URL & not the regular SF login page ?. 
ericmonteericmonte
Are the users logging out from the internal Salesforce logout? If you have SAML SSO you can customize the logout redirection.
satyaprakash palsatyaprakash pal
users loggin out from the external salesforce logout.
 
ericmonteericmonte
You might want to look into this:

https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml_start_stop_pages.htm

 
satyaprakash palsatyaprakash pal
What I have is a link to the logout.jsp  
<a href="https://xyz.cs1.force.com/Experience/secur/logout.jsp">Sign Out</a>
after sign out it should redirect to a different URL & not the regular SF login page ?
ericmonteericmonte
By using that link, you completely terminate the SFDC session and automatically returns the default salesforce.com.
Based on my experience, you will not be able to customize the logout pages unless you customize it within the SAML SSO logout pages.

 
satyaprakash palsatyaprakash pal
what are the steps to customize it within the SAML SSO logout pages ?.
satyaprakash palsatyaprakash pal
For signin I have created connected app in salseforce, so that I can login with salesforce user name and password. I am able to login succesfully and redirected on 'default.aspx'. This default.aspx page have a sign out option.
The logout functionality lives on the salesforce side. So, the logout process and the redirect is happening on the salesforce side.
 I can't find out how to log out. There is no log out method.  How can I do that? 
ericmonteericmonte
You have to make sure you have SAML SSO enabled and fully understand the capabilities of implementing SSO. Here are some list of what you should look into:

https://help.salesforce.com/HTViewHelpDoc?id=sso_saml.htm
http://help.salesforce.com/help/pdfs/en/salesforce_single_sign_on.pdf
https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml_start_stop_pages.htm

 
satyaprakash palsatyaprakash pal
Can I call a apex controller method from the default.aspx page ?
ericmonteericmonte
Honestly, I'm not sure.
satyaprakash palsatyaprakash pal
Thank you so much for helping me out.