I have a connected application (web site) that is using Salesforce as an authentication provider (OpenID Connect). And I'd like the logout on my site to work as a "single logout" - it should also log out the user from Salesforce.

According to the documentation, the user's browser should be redirected to this URL to perform the logout:


This works fine (performs the logout), but the documentation fails to mention something like a redirect parameter. The problem is that the user will remain on salesforce.com after the logout, and I would really like to have a redirect back to my site.

All other OpenID Connect providers have something like a '?post_logout_redirect_uri=' parameter on the logout URL, but I failed to find something similar in Salesforce...

Any ideas? :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.