Closed joetito1 closed 2 years ago
Hi @joetito1, our recommended way of authenticating is to use Application Default Credentials. I will close this issue for now since we are migrating this repository to google-cloud-node. If you continue running into problems, please reopen the issue in that repo. Thank you!
I'm trying to use Resource() to get projects for the currently authenticated user who I've authenticated with OAuth. Could someone please explain how I would pass an exsiting oauth client into this call please?
const [projects] = await new Resource().getProjects();