matrix-org / matrix-react-sdk-module-api

API surface for writing Modules for the react-sdk
Apache License 2.0
3 stars 8 forks source link

Port or provide the equivalent of the deprecated ILifecycleCustomisations #25

Closed thoraj closed 1 month ago

thoraj commented 10 months ago

We have a custom build of Element Web which relies on the customisations point ILifecycleCustomisations.

We use OIDC only, integrated through the SSO mechanism (not the upcoming MAS). The Element team used ILifecycleCustomisations to ensure we could log out the session on our OIDC server when the users logs out of Element.

The need for this would presumably go away once "native" OIDC is supported on Synapse/MAS and in Element Web. But in the meantime we need to somehow hook into the user logging out in EW.

With customizations being deprecated there is a need for the equivalent of ILifecycleCustomisations in /src/lifecycles

thoraj commented 1 month ago

Our use case for this customisation was handled without the need ILifecycleCustomisations. So I'm closing this