79607074

Date: 2025-05-05 14:06:25
Score: 1.5
Natty:
Report link

Thank you to @mndbuhl for pointing me at the solution in another post. I went with setting MapInboundClaims to false to give back all of the original claim names.

https://stackoverflow.com/a/79012024/4194514

builder.Services
    .AddAuthentication()
    .AddOpenIdConnect(options =>
    {
        // your configuration

        options.MapInboundClaims = false;
    });
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • User mentioned (1): @mndbuhl
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Eric