Supporting non nodejs runtimes #493
Labels
size: m
Pull request size is medium.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
What would you like to see in the library?
jws
and use a different cross-runtime library, to allow for support for workers, bun, web, etc.Describe alternatives you've considered
I've considered writing raw HTTP requests for API requests or maintaining a fork of
gtoken
, so that I can use jwt's with googleapis.Additional context/notes
gtoken
is how auth is maintained across allgoogleapis
modules. Changing this would effectively allow someone to use most of googleapis with nearly any runtime.For example, the below ran successfully in a Cloudflare worker
This would greatly broaden the ability to use the
googleapis
npm package, and be incredibly useful for developers. It would reduce the maintenance burden of maintaining unvetted non-standard calls to google's API via fetch requests. And significantly increase the appeal of using google's APIs.The text was updated successfully, but these errors were encountered: