Calling Scrivito.logout
redirects the browser to the IAM logout page. From there, the browser is redirected to the IAM log-in page.
If you’ve set up your own IdP, you can configure a URL for logging out. Otherwise, a generic logout page is shown.
Calling Scrivito.logout
redirects the browser to the IAM logout page. From there, the browser is redirected to the IAM log-in page.
If you’ve set up your own IdP, you can configure a URL for logging out. Otherwise, a generic logout page is shown.
Params
returnTo
(String
) – An optional URL to which the user is redirected after logging out. Note, that only trusted origins specified in the Scrivito Dashboard will be accepted.Remarks
Once logging in through a third-party IdP, its configured logout URL takes precedence if provided.
Returns
Void