Skip to content

IISCertificateMappingAuthenticationModule #8613

@carathorys

Description

@carathorys

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions