Base solution for your next web application
Open Closed

TokenAuthController - hard coded URL with aspnetzero.com in? #3837


User avatar
0
mdonogma created

Version 4.5.1 of the MVC JQuery template :

why is there a hard coded URL in the TokenAuthController ?

    private const string UserIdentifierClaimType = "http://aspnetzero.com/claims/useridentifier";

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Mdonogma,

    Every claim needs a name and it must be constant.