How to validate an API request with a Token signed by external SAML provider?



I do need help on how to validate this kind of requests. I’m receiving a token within Header Authorization Bearer . Is there any library to just validation ? not for SAML Auth provider. Thanks in advance.