Closed XenHuang closed 1 year ago
To get working logout you need to both logout of your local application and the upstream Azure AD provider. If you don't, you will get the behaviour you are seeing: The user is logged out of your application, but automatically single signed on from the Azure AD session.
To enable the Saml2 single logout support you need to configure a service certificate in your application, as the single logout messages have to be signed. There is also a log entry written on logout which is details all the requirements to be able to do a federated logout and which of them are fulfilled.
Hi I recently added SAML sign on to my .net core application using Azure AD. It's working good. I have a "SAML" button redirect user to a Microsoft login page, and users are able to log in. However, I don't know if the log out is working correctly. Here is the issue:
I am using Asp.net core default template and SigninManager,
` // Logout public async Task OnPost(string returnUrl = null)
{
`