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)

Sysadminotaur pondering a question Special Q&A

Our CTO is answering your AI questions

A rare opportunity — ask our CTO directly.

10 questions already asked Closed
View questions →