JWT Bearer Authentication
noun
say it: “JOT BAIR-er aw-then-tih-KAY-shun” /dʒɒt ˈbɛrər ɔːˌθɛntɪˈkeɪʃən/
ASP.NET Core checking the JWT sent in each request's Authorization header to know who the caller is.
What is JWT Bearer Authentication?
JWT bearer authentication validates the token in the Authorization: Bearer header: signature, issuer, audience and expiry. Valid tokens become the request's user.
builder.Services.AddAuthentication().AddJwtBearer(o =>
{
o.Authority = "https://accounts.example.com";
o.Audience = "recipe-api";
});
In a sentence
- “With JWT bearer authentication, [Authorize] actions accept only requests with a valid token.”
Level: Journeyman · More ASP.NET Core terms at this level
Updated