I would really like to use Next.js' middleware to validate requests. However, the validateIdToken method is only available in firebase-admin SDK, which needs to run on a NodeJS server, while Next.js edge runs on V8.
Is there some tutorial on how to verify tokens without using the firebase-admin SDK?