Hi!
I try to use IISClientCertificateMappingAuthentication without any success.
The IIS identifies my client certificate, but I'm not able to obtain the User object from my AspNetCore Web API application. When I try to use User or HttpContext.User objects, they are null, and I can only reach the Client Certificate through HttpContext.Connection.ClientCertificate object, but my goal would be that I should get the User object populated like when I use Windows authentication.
Can you provide me some example how to use that module? Or I'm only able to get the client certificate?
I'm trying to use it in AspNetCore Web API 2.1
Thanks!
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi!
I try to use IISClientCertificateMappingAuthentication without any success.
The IIS identifies my client certificate, but I'm not able to obtain the
Userobject from my AspNetCore Web API application. When I try to useUserorHttpContext.Userobjects, they are null, and I can only reach the Client Certificate throughHttpContext.Connection.ClientCertificateobject, but my goal would be that I should get the User object populated like when I use Windows authentication.Can you provide me some example how to use that module? Or I'm only able to get the client certificate?
I'm trying to use it in AspNetCore Web API 2.1
Thanks!
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.