I have a SPA frontend where I use the auth0 sdk for login.
After successful login, I can retrieve the accessToken from my auth0 client.
Now, I have a backend API in python - FastAPI - which should only be accessible for authenticated users.
So, I add the access token retrieved from the SPA SDK to the backend request and want to validate the token now in my backend to make the data response. I do not need to query the Management API for further stuff, I just need to validate the token.
However, following the tutorial here I can not verify the token. With this code sample, I just can verify tokens issued for API’s, how can I verify tokens issued from SPA SDK applications ?