I am using identityserver v3 to authenticate my users in an angularjs based web application. therefor I request an id_token from the authorize endpoint that returns me what i want (id_token and access_token...). The openid specification states that the id_token must be validated by the client. How can I achieve this in javascript. I could find some implementation in .net or java, but couldn't find any in javascript.
could someone provide me a library that does the job in javascript ?
the best would be a method that takes the token as param and validate it : sthg like :
mylib.validate(id_token);
some server offer an endpoint to validate it, but I really would like to validate it on the client