-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Description
In that article, under the Kestrel section, it says that Authentication is enabled by the following highlighted code.
The highlighted code includes builder.Services.AddAuthentication, builder.Services.AddAuthorization, and app.UseAuthorization.
While app.UseAuthentication is included in the code, it is not highlighted as if it is not required when manually implementing this.
It does not make sense to me that this should be excluded - not highlighted as well - since Authentication is required before Authorization.
Note that it was also excluded from the list of APIs used in the preceding code.
I suspect it was simply missed.
I appreciate any feedback or clarity you can provide.
Thank you
Mark
Page URL
Content source URL
Document ID
fbc36c26-9992-1f4c-66d3-02f898ee7ec4
Platform Id
7e670460-f1b6-a509-340f-e6936ea78313
Article author
Metadata
- ID: 401ad9a0-9e51-80a2-5846-82e9790d7257
- PlatformId: 7e670460-f1b6-a509-340f-e6936ea78313
- Service: aspnet-core
- Sub-service: security