diff --git a/IdentityServer/v6/docs/content/apis/aspnetcore/reference.md b/IdentityServer/v6/docs/content/apis/aspnetcore/reference.md index 213d3e3a..4aba48c3 100644 --- a/IdentityServer/v6/docs/content/apis/aspnetcore/reference.md +++ b/IdentityServer/v6/docs/content/apis/aspnetcore/reference.md @@ -19,7 +19,7 @@ services.AddAuthentication("token") ``` ## Supporting both JWTs and reference tokens -It is not uncommon to use the same API with both JWTs and reference tokens. In this case you setup to authentication handlers, make one the default handler and provide some forwarding logic, e.g.: +It is not uncommon to use the same API with both JWTs and reference tokens. In this case you setup two authentication handlers, make one the default handler and provide some forwarding logic, e.g.: ```cs services.AddAuthentication("token") @@ -94,4 +94,4 @@ public static (string, string) GetSchemeAndCredential(HttpContext context) return (parts[0], parts[1]); } -``` \ No newline at end of file +```