-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AoG support for the "Auth Code" OAuth flows.
It appears that Implicit flows are not available for new projects, so this implements support for Auth Code flows. It: - adds support for grant_type=authentication_code in /auth - adds a /tokens endpoint to implement token exchange - adds support for expiration to tokens and simplifies map handling a bit - fixes argument parsing to use CGI, which correctly handles things like URLs in POST request arguments - runs perltidy This follows the flow outlined at https://developers.google.com/assistant/identity/oauth2
- Loading branch information
Showing
2 changed files
with
222 additions
and
67 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
Oops, something went wrong.