Button for user to logout

avatar
(anonymous user)

Hi,

Today I have a button for the user that execute

Invoke-UDJavaScript -JavaScript "window.location.href = 'https://$($CurrentHost)/api/v1/signout'"

But what I want is also to redirect it to something else than a white page, is that possible?

Is there any restAPIs that I can use so the user get logged out from multiple hosts?

All Comments (0)