3

Is it possible to customize the standard Logout link in Salesforce without creating custom visualforce pages? The only issue is, I would like the users to be redirected to a custom web page as opposed to https://test.salesforce.com/

Is there an admin setting I could change? or, is it possible to create a new custom button on the standard layout on the top that does this (and of course, hide the current Logout link that references /secur/logout.jsp)?

enter image description here

Adrian Larson
  • 149,971
  • 38
  • 239
  • 420
Lightning Evangelist
  • 3,458
  • 3
  • 33
  • 67

1 Answers1

3

I don't think this is possible using out of the box configuration. If you were using Communities it can be configured - See Add Custom Login, Logout, and Self-Registration Pages from the Winter 15 release notes.

Otherwise your options are to:

  • try and manipulate the /secur/logout.jsp link with a retUrl parameter. I suspect the retUrl will need to be within the Salesforce domain.
  • use the API logout methods.

Without official support attempting to change the Logout link be a hack and error prone.

Daniel Ballinger
  • 102,288
  • 39
  • 270
  • 594