'why ClaimTypes is a url in identity

I'm using .net6's aspcore service to test jwt functionality.

I found that the Claims when I authorize are represented by url here. Why is this? Although the string can be customized, why is the default type provided is url?

{
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "2",
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "ssq",
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "[email protected]",
  "http://schemas.microsoft.com/ws/2008/06/identity/claims/version": "1",
  "http://schemas.microsoft.com/ws/2008/06/identity/claims/role": "admin",
  "exp": 1652891588,
  "iss": "Issuer",
  "aud": "Audience"
}

After parsing, I found that the keys obtained are all urls, and accessing these urls displays the same content.

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Why is this so? Why use url to represent it? Wouldn't this make the generated jwt characters very long?

Very confused, why does Microsoft do this? Does anyone know why? thank you very much!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source