OAuth 2.0 resource
Type
The OAuth 2.0 grant type for this resource.
For the Google API use authorization code
.
Required
Client ID
This is the ID by which the resource server will identify this application.
For the Google API, copy this value from the Google APIs Console.
Required
Access token URI
The URI where the access token may be obtained.
For the Google API, use https://accounts.google.com/o/oauth2/token
.
Required for types authorization code
and client credentials
User authorization URI
The URI to which the user will be redirected if the user is ever needed to grant an authorization code.
For the Google API, use https://accounts.google.com/o/oauth2/auth
.
Required for types authorization code
and implicit
; not allowed for type client credentials
Username
The username for authentication.
Required for type password
.
Password
The password for authentication.
Required for type password
.
Scope
Comma-separated list of strings specifying the scope of the access to the resource.
For the Google API, see the Google documentation for all available scopes. Some of the scopes for Google Drive are:
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.apps.readonly
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.readonly.metadata
https://www.googleapis.com/auth/drive.install
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.scripts
Default is empty.
Client secret
The secret asssociated with the resource.
For the Google API, copy this value from the Google APIs Console.
Default is empty.
Client authentication scheme
The scheme that is used to pass the client secret.
For the Google API, use form
.
Default is header
.
Authentication scheme
The method for bearing the token when accessing the resource.
For the Google API, leave this setting on header
(default).
Default is header
.
Token name
The name of the bearer token. The default is access_token
, which is according to the OAuth 2.0 specification, but some providers (e.g. Facebook) don't conform to the specification.
For the Google API, leave this value empty.
Default is access_token
.
Pre-established redirect URI
Some resource servers may require a pre-established URI to which they will redirect users after users authorize an access token.
For the Google API, copy this value from the Google APIs Console (usually it is urn:ietf:wg:oauth:2.0:oob
).
Use current URI
Whether the current URI should be used as a redirect (if available) rather than the registered redirect URI.
For the Google API, leave this setting on false
(default).
Default is false
.
Id
Name that uniquely identifies this flow component.
Required