Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,13 @@ public signOut() {
withCredentials: true,
observe: 'response',
responseType: 'text'
});
}
```

> [!NOTE]
> `SignInManager.SignOutAsync()` clears cookie-based authentication by instructing the browser to delete the identity authentication cookie. Calling `SignOutAsync()` does **not** invalidate stateless Bearer tokens on the server. When using token-based authentication (Bearer tokens), the client application must discard the access and refresh tokens from memory or client storage to complete sign-out. Issued Bearer tokens remain valid until their expiration (`BearerTokenExpiration`) unless custom server-side revocation or security stamp validation is implemented.

## SignOut everywhere

Apps need to react to events involving security-sensitive actions such as password changes, or other security-sensitive events. This is achieved using the [security stamp](/dotnet/api/microsoft.aspnetcore.identity.identityuser-1.securitystamp) feature of Identity.
Expand Down
Loading