dotnet / dotnet/AspNetCore.Docs
The article is missing `useSessionCookies` for the /login endpoint
- Dominant language
- C#
- Stars
- 13.1k
- Forks
- 24.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 109
Description
### Description
Tom, I was working on the Blazor WASM+Identity 2FA article/PR and noticed that `useSessionCookies` is missing from this guidance. There's a one-item bullet list in the article where `useCookies` appears, so perhaps that's a placeholder for it (or perhaps there's commented-out lingo there ... not sure ... didn't look). I don't see an open issue for this.
I've made a note to check on it for the Blazor coverage. I'm not sure if Halter will feel that it's important to cover on the Blazor side. Since I do cross-link to this main doc set article, it would be ok if it's only covered over here. I'll check with Halter on it when he reviews my PR.
Here's the API ...
https://github.com/dotnet/aspnetcore/blob/4ce2db7b8d85c07cad2c59242edc19af6a91b0d7/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs#L90-L120
### Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-api-authorization?view=aspnetcore-9.0
### Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authentication/identity-api-authorization.md
### Document ID
137d4b94-7b26-3911-b22d-42c754a95fc1
### Article author
@tdykstra
[Related Issues](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+137d4b94-7b26-3911-b22d-42c754a95fc1)
Contributor guide
Assessment
This issue has not been assessed yet.