Open gkiely opened 11 months ago
I would like the ability to verify an idToken without the use of a service account, this can be achieved using google-auth-library. https://developers.google.com/identity/gsi/web/guides/verify-google-id-token#using-a-google-api-client-library
When attempting this I'm getting the following error:
Server error: Public key "..." not found.
@gkiely did you provide projectId of the GCP project that issued the ID token?
projectId
https://github.com/kriasoft/web-auth-library/blob/42a722e4cedc09ea2a86f92fe5aed73b19e5de94/google/idToken.ts#L135-L150
I would like the ability to verify an idToken without the use of a service account, this can be achieved using google-auth-library. https://developers.google.com/identity/gsi/web/guides/verify-google-id-token#using-a-google-api-client-library
When attempting this I'm getting the following error: