Update standalone-with-identity.md (#31901)

pull/31903/head
Yogi 2024-02-24 19:47:12 +05:30 committed by GitHub
parent d3addbbb02
commit c3ed507773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ builder.Services
In `BlazorWasmAuth/Identity/CookieAuthenticationStateProvider.cs`, remove the `useCookies` query string parameter in the `LoginAsync` method of the `CookieAuthenticationStateProvider`:
```diff
- /login?useCookies=true
+ /login
- login?useCookies=true
+ login
```
At this point, you must provide custom code to parse the <xref:Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse> on the client and manage the access and refresh tokens. For more information, see <xref:security/authentication/identity/spa>.