Validating Genesys Cloud Implicit Grant JWT in React

We are integrating the Genesys Cloud implicit grant flow into a React application. The frontend receives the access token directly from the redirect URI. We need to validate the JWT signature client-side before making API calls. The standard jwt-decode library only decodes the payload without verifying the signature. Attempting to verify using the public keys from https://api.mypurecloud.com/oauth2/keys results in a mismatch. The code snippet below shows the current verification attempt. Is there a recommended approach for client-side validation in this specific context?