Skip to content

Explain schemes in Blazor WASM security #19807

@guardrex

Description

@guardrex

From @YuxuanLin at #19226 (comment) ...

  1. What is JS? Javascript?

  2. Which is for cookie? And does it mean that validate a cookie containing a jwt?

  3. I tested in my code using context.HttpContext.AuthenticateAsync(scheme); in custom attribute. For bearer authentication(bearer jwt in header) those two AzureADDefaults.JwtBearerAuthenticationScheme AzureADDefaults.BearerAuthenticationScheme are interchangeable. In another way both of them works on the jwt bearer header anthentication. So what is exactly the difference between those two?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions