Replies: 1 comment
-
Hi! The error Why does this happen?
How to fix?
This adds URLSearchParams if missing. Use a pure Node.js environment for this code Alternative: Avoid google-auth-library if running in limited JS engine TL;DR: Polyfill it, Or run your code in a full Node.js environment. If you're new to JavaScript or Bruno scripting, the cleanest approach is to run this code in Node.js, not inside Bruno script. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to authenticate with a Google cloud service account to get ID token (Not Oauth access token), so i installed google-auth-library node module as external library, whitelisted it and also allowed filesystem access, running in developer mode and not safe mode.
But i get URLSearchParam not defined as the error
What am i doing wrong ? any help is apprecieated as i am not well versed in javascript or bruno scripting. This code works when i rune as a node app in main function.
Beta Was this translation helpful? Give feedback.
All reactions