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 ?
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.
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?
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/apex/HTViewHelpDoc?id=sso_saml_start_stop_pages.htm
<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 ?
Based on my experience, you will not be able to customize the logout pages unless you customize it within the SAML SSO logout pages.
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?
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