cli / oauth

A library for performing OAuth Device flow and Web application flow in Go client apps.
https://pkg.go.dev/github.com/cli/oauth
MIT License
466 stars 65 forks source link

Return the optional verification_uri_complete #26

Closed tchandelle closed 1 year ago

tchandelle commented 2 years ago

According to the specs (https://datatracker.ietf.org/doc/html/rfc8628#section-3.2), the Device Authorization Response returns also an optional verification_uri_complete

   verification_uri_complete
      OPTIONAL.  A verification URI that includes the "user_code" (or
      other information with the same function as the "user_code"),
      which is designed for non-textual transmission.

It should be available in device.CodeResponse struct too.