Logout redirect

Single Logout (SLO) can be implemented by defining a logout redirect with environment variable:

UI_BAKERY_LOGOUT_REDIRECT=https://yourprovider.com/logout

You can use access and id tokens in logout redirect URL:

# enabling UI_BAKERY_SSO_BROADCAST_TOKEN is requeried to use placeholders
UI_BAKERY_SSO_BROADCAST_TOKEN=true
UI_BAKERY_LOGOUT_REDIRECT=https://yourprovider.com/logout?id_token=UI_BAKERY_SSO_ID_TOKEN&accses_token=UI_BAKERY_SSO_ACCESS_TOKEN

Logout can be triggered from actions. If URL is not passed then value of UI_BAKERY_LOGOUT_REDIRECT will be used.

If you want to initiated logout from identity provider you can redirect user to the following url https://your_uibakery_instance.com/auth/logout

Last updated