dashboard/shell/components/templates
Alexandre Alves 340d41031e
SAML SLO support (#11182)
* wip

* add logout action according to logic (SAML - logoutAll) + add modal to prompt user to select SLO logout type when logging out of Dashboard

* update authProvidersInfo method to allow for a getter usage in order to make it store reactive

* wip - missing final plumbing for the finalRedirectUrl

* bug fix for non-reactive header logout when auth provider is enabled

* adjust slo UI elements to match expected UI/UX

* minor adjustments + pr cleanup

* cleanup

* handle promise rejection for standard users (apparently they cannot get the schema)

* Updates
- Tweaked text (to be reviewed)
- Removed some code smells
- Ensure rancher logout via modal uses same process as normal logout
- Use async buttons in logout modal
- Add cancel to log out modal
- Fix logout on fail-whale page

* Add error handling (WIP with Andreas, does not currently reach final redirct / verify route)

* Fix check for IS_SLO

* Only allow optional auth provider log out if logged in auth provider

* Fix error message (SLO failures still result in rancher log out)

* check complete slo flow + add special copy when doing a slo logout

* Update shell/dialog/SloDialog.vue

Co-authored-by: Phillip Rak <rak.phillip@gmail.com>

* Update shell/edit/auth/saml.vue

Co-authored-by: Phillip Rak <rak.phillip@gmail.com>

* update syntax from phil pr review

* Fix logout modal on diangostics, about, etc pages that use plain template

* Remove PromptRemove from diagnostic page
- it uses the plain template which now contains it
- caused x2 modals to show

---------

Co-authored-by: Richard Cox <richard.cox@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 19:16:06 +01:00
..
blank.vue Removing the rest of authenticated middleware. Primarily cluster loading. 2024-07-10 11:23:42 -07:00
default.vue Removing the rest of authenticated middleware. Primarily cluster loading. 2024-07-10 11:23:42 -07:00
error.vue Remove every reference to .nuxt global option (#11265) 2024-06-21 11:15:05 +02:00
home.vue SAML SLO support (#11182) 2024-08-22 19:16:06 +01:00
plain.vue SAML SLO support (#11182) 2024-08-22 19:16:06 +01:00
standalone.vue Removing the unauthenticated middleware 2024-04-30 13:36:40 -07:00
unauthenticated.vue Removing the unauthenticated middleware 2024-04-30 13:36:40 -07:00