Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom redirect location after logout #15829

Closed
benparsons opened this issue Nov 25, 2020 · 4 comments
Closed

Custom redirect location after logout #15829

benparsons opened this issue Nov 25, 2020 · 4 comments

Comments

@benparsons
Copy link
Member

Is your suggestion related to a problem? Please describe.
When logging out of Element, it should be possible to set a custom location to redirect to.

Describe the solution you'd like
I would like to be able to set a web location in config.json, and have the webapp redirect there on logout.

Describe alternatives you've considered
Hitting an endpoint during the logout flow could also work

Additional context
This is to support users with custom SSO setups.

@jryans
Copy link
Collaborator

jryans commented Nov 26, 2020

I do imagine we'll want something like this, but I think we'll need input from several SSO deployments before it's clear what shape it should take. For example, I think it would be surprising to a user if they are redirected to an SSO portal when logging out of Element.

@jonathanmmm
Copy link

I do imagine we'll want something like this, but I think we'll need input from several SSO deployments before it's clear what shape it should take. For example, I think it would be surprising to a user if they are redirected to an SSO portal when logging out of Element.

For keycloak you could use something like this:
https://keycloak.example.com/auth/realms/MY_REALM/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Felement-web.example.com%2F it would logout of keycloak and keycloak would redirect to https://element-web.example.com

Even with landing on an SSO portal, that would be the choice of the one deploying element web.

@t3chguy
Copy link
Member

t3chguy commented May 3, 2022

Otherwise Element Desktops won't be affected by a EW config.json

@t3chguy
Copy link
Member

t3chguy commented May 25, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants