79079741

Date: 2024-10-11 21:24:43
Score: 1
Natty:
Report link

Solved the issue. I was passing access token instead of identity token.


LogoutRequest logoutRequest = new LogoutRequest
{
    IdTokenHint = token // has to be identity token
};
LogoutResult? logoutResult = await OidcClient.LogoutAsync(logoutRequest);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sara Mannings