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

Application logout doesn't support automatic redirect post signout, which Duende added a while back #226

Open
omon77 opened this issue Jul 2, 2024 · 3 comments
Assignees

Comments

@omon77
Copy link

omon77 commented Jul 2, 2024

Describe the bug

When application logs out, the application stays on STS's logged out page.
Duende added support for redirecting the application to the configured/specified url a while back.

Looks like missed merges start with this options class:
https://github.com/DuendeSoftware/IdentityServer/blob/e9860c6488f90e8fbc11a4452b9dd111dbfae933/hosts/main/Pages/Account/Logout/LogoutOptions.cs

Sample code:
https://github.com/DuendeSoftware/Samples/blob/main/IdentityServer/v7/SessionManagement/IdentityServerHost/Pages/Account/Logout/LogoutOptions.cs
And Logout action methods:
https://github.com/DuendeSoftware/Samples/blob/main/IdentityServer/v7/SessionManagement/IdentityServerHost/Pages/Account/Logout/Index.cshtml.cs

@skoruba
Copy link
Owner

skoruba commented Sep 29, 2024

I will check it, can you send a PR with some improvements?
Thanks!

@omon77
Copy link
Author

omon77 commented Oct 31, 2024

@skoruba , I can give it a shot...

@skoruba
Copy link
Owner

skoruba commented Nov 1, 2024

@omon77 - would be great! thanks.

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

No branches or pull requests

2 participants