How to validate id_token acquired by msal-react in .Net api

80 views Asked by At

I am using @azure/msal-react(v2) and @azure/msal-browser(v3) libraries in react SPA app. I acquire id_token and access_token in my react app. Then, I pass this id_token to my back-end and would like to validate it. Is there a way that I can call Microsoft api to pass this token (along with client_Id and cleint_secret) and it gives me response like user info. So I make sure that this token is valid?

0

There are 0 answers