To log out the user out of Unidy you can call the well known end_session_endpoint
and pass a post_logout_redirect_uri
parameter to indicate where the user should be redirected afterwards. When the user was not logged in, he will be presented the login screen.
Example
https://demo.unidy.de/oauth/logout?post_logout_redirect_uri=https://docs.unidy.io
There are additional steps that can increase the security of this process. The option to fully comply with the OIDC Standard Compliant RP-Initiated Logout can be activated on your Unidy instance.