googleapis / googleapis/google-api-nodejs-client

Missing example for device_code use case

Open
#2,851 0 comments 0 reactions 0 assignees View on GitHub
type: docs
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

When trying to get started with this library it all seems very much biased towards web apps or API token use cases.

I would like to see documentation using [device_code](https://developers.google.com/identity/protocols/oauth2/limited-input-device) authentication.

Basically using the `https://oauth2.googleapis.com/device/code?client_id=${CLIENT_ID}&scope=${SCOPE}` endpoint.

It isn't hard to implement by hand, but then the entire library is worthless anyway because its easier to just use the rest endpoints to begin with.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.