title: IdentityServer4 - How to Logout Blazor Webassembly Client from IdentityServer
body: <p>i am playing around with Blazor WASM and IdentityServer4. Login/Logut flows invoked from the client are all working well. Used Microsofts documentation found here <a href="https://docs.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/?view=aspnetcore-6.0" rel="nofollow noreferrer">Microsofts Docs</a></p>
  <p>IdentityServer4 is hosted as a seperate Microservice as well as the Blazor WASM App - two indepented projects.</p>
  <p>Now i am facing the problem of signing out from the IdentiyServer4. Invoking the logout from the IdentityServer4 UI doesnt logout the user from the Blazor WASM App. I already read this explenation <a href="https://identityserver4.readthedocs.io/en/latest/topics/signout.html" rel="nofollow noreferrer">signout IdentityServer4</a></p>
  <pre><code>&quot;oidc&quot;: {
  &quot;Authority&quot;: &quot;http://localhost:8010/&quot;,
  &quot;ClientId&quot;: &quot;demoportal.blazor&quot;,
  &quot;DefaultScopes&quot;: [
    &quot;openid&quot;,
    &quot;profile&quot;
  ],
  &quot;PostLogoutRedirectUri&quot;: &quot;http://localhost:8070/authentication/logout-callback&quot;,
  &quot;RedirectUri&quot;: &quot;http://localhost:8070/authentication/login-callback&quot;,
  &quot;ResponseType&quot;: &quot;code&quot;
  </code></pre>
  <p>}</p>
  <p>I haven´t found anything so far to achieve the goal. From my unterstanding it has to be used as oidc connect session managements not front or backend channel policy. But i cant find any useful docs on microsofts site.</p>