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

Fix/admin logout redirect #374

Merged
merged 5 commits into from
Oct 20, 2019
Merged

Conversation

aiscrim
Copy link
Contributor

@aiscrim aiscrim commented Oct 9, 2019

Removed RedirectUri from SignOutResult: it was pointing to the root of the site (/), not to the root of the application (e.g.: /IdentityServerAdmin/).
Not passing a RedirectUri we get the correct behavior instead.

(I think this bug showed up after the IdentityServer package upgrade to v2.5.3. I assume the old version wasn't honoring the specified RedirectUri)

This PR solves also another related issue: the Admin.Api, when hosted in a sub-site, wasn't unable to find the swagger endpoint because it was referenced as /swagger/...

@skoruba skoruba self-requested a review October 20, 2019 08:22
Copy link
Owner

@skoruba skoruba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@skoruba skoruba merged commit 5bf1568 into skoruba:dev Oct 20, 2019
@skoruba skoruba mentioned this pull request Jan 13, 2020
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

Successfully merging this pull request may close these issues.

2 participants