?I get in my Angular 10 application JWT token by "@auth0/angular-jwt". And after decoding function I get a list of claims like this:
{
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name: "johndoe",
http://schemas.microsoft.com/ws/2008/06/identity/claims/role: "Manager",
exp: 1525510870,
iss: "http://localhost:5000",
aud: "http://localhost:5000"
}
How I can get custom claims by typescript like:
{
name: "johndoe",
role: "Manager",
}
? Thanks.