This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Consider revisiting OpenIdConnectOptions.PostLogoutRedirectUri in 2.0.0 #1089
Closed
Description
This is indeed a breaking change, which is quite subtile as existing code will still compile. At this point, it might be better to completely remove
PostLogoutRedirectUri
as it now has no added value and is quite confusing (with this PR, it's more like an equivalent to the return URL, but for logout). Alternatively, it should be marked as obsolete and removed in a future version.
Now that the OIDC middleware has a dedicated "post logout endpoint", this property doesn't make much sense. I suggest removing PostLogoutRedirectUri
in 2.0.0 to re-align the signout logic with the login flow (i.e honor AuthenticationProperties.RedirectUri
when it's specified by the dev' and fall back to the current URL when it's not).
/cc @Tratcher