-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flows): Implement flow for installed apps
The "Installed App Flow" requires user interaction; we first generate a URL that the user has to navigate to. Then, the user either pastes a displayed code into the app being authorized, or the OAuth provider redirects the user's browser to a webserver that is running on localhost. This webserver is provided by the library and the flow should work automatically. Extensive documentation can be found here: https://developers.google.com/identity/protocols/OAuth2InstalledApp An example for the InstalledFlow with the Drive API is here: https://gist.github.com/dermesser/8c915ec4c88ee8e8927e7d40b276ca52
- Loading branch information
Showing
4 changed files
with
424 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.