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
ShivamAgNot3ShivamAgNot3 

Alternate of Secure logout url for logout community user.

Looking for alternate api/solution which can do same task which secur/logout does. I'm using community and want to logout community user without hitting secur/logout.jsp url.
SwethaSwetha (Salesforce Developers) 
Hi Shivam,

You can set a custom logout page URL under
All sites> Workspace> Administration Settings > Login & Registration

Related: https://developer.salesforce.com/docs/atlas.en-us.salesforce_platform_portal_implementation_guide.meta/salesforce_platform_portal_implementation_guide/sites_login_and_registration_settings.htm

https://salesforce.stackexchange.com/questions/16968/change-customer-community-logout-url

If this information helps, please mark the answer as best. Thank you