Hello @Alex and thanks for reaching out. MSAL is intended for acquiring tokens. For token signature its recommended to use third party libraries such as jsonwebtoken. For more information on how to validate tokes take a look at Validating an ID token and Validate access tokens.
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.