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

Allow per-user logoutURL #20285

Open
ffdixon opened this issue May 17, 2024 · 1 comment
Open

Allow per-user logoutURL #20285

ffdixon opened this issue May 17, 2024 · 1 comment

Comments

@ffdixon
Copy link
Member

ffdixon commented May 17, 2024

Is your feature request related to a problem? Please describe.
Front-end applications may have users enter through different paths in the application, and when the user log's out want to return them to their previous login screen.

Currently, the logoutURL is shared by all users and doesn't provide any way to redirect different users to different areas.

Describe the solution you'd like
In the join API parameters, add support for a logoutURL to enable the front-end to send each user their own logout URL.

Describe alternatives you've considered
We could add parameters to the logoutURL on create, such as %%USERID%% or %%ROLE%%, but giving each user their own logoutURL is simpler and gives all the control to the front-end.

@ffdixon
Copy link
Member Author

ffdixon commented May 17, 2024

This will also cover the case where the front-end wants the users to logout to completely different URLs as well.

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

1 participant