Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Add MapInboundClaims option #27

Description

@luluvia

I recently ran into an issue highlighted in this Stack Overflow post: https://stackoverflow.com/questions/57998262/why-is-claimtypes-nameidentifier-not-mapping-to-sub

It had to do with how .NET by default maps claims. I wanted to avoid this remapping behavior, but the option to turn this off does not exist within the Clerk.Net.AspNetCore.Security options. There is an alternative that works as a workaround right now in the linked Stack Overflow thread, but I would rather do this idiomatically if possible. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions