You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling SignOutAsync I was still signed in. When returning 'void' (async Task) the problem was solved.
Fatal is, that it seems to work with Postman during testing. But in the app after LogOut I was still logged in with the same user. Even after logging in as a different user.
Am unable to Authorize the application using the role after successful authentication. Am returning The Role from the ADFS Claims provider. The message from asp.net core 2.1 application Access denied
You do not have access to this resource. Need this to work as its currently working on an MV5 application
After calling SignOutAsync I was still signed in. When returning 'void' (async Task) the problem was solved.
Fatal is, that it seems to work with Postman during testing. But in the app after LogOut I was still logged in with the same user. Even after logging in as a different user.
See https://stackoverflow.com/a/48460538/8405156
The problem is that your RedirectToAction overwrites the redirect to the Identity Server endsession URL that SignOutAsync issues.
I think the documentation should be updated to make aware that this is a problem.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: