This navigate the user's browser to the OIDC logout page, and then redirects back to the postLogoutRedirectUri(opens new window) that was specified in the config (or
window.location.origin if no
postLogoutRedirectUri was specified). This URI must be one of those listed in the
Logout redirect URI section of your application's settings. See Define the signout callback.
Function-based component example:
Class-based component example: