Reference
Nodes
Resources
Google Authentication

Google Authentication Resource

The Google Authentication Resource authenticates with the Google OAuth 2 API.

Properties

Environment Profiles

Propprofiles
Typearray
Default[ { 'scope': '', 'route': '', 'isSignInProvider': true, 'enableGroups': false, 'useLegacyCallbackURL': false, 'useCustomConfig': false, 'environment': '' } ]

The profiles configured for this resource in an environment

Environment Profile

Propprofiles[]
Typeobject
Defaultundefined

A profile of this resource for an environment

Client ID

Propprofiles[].clientID
Typestring
Defaultundefined

The OpenID Connect Client ID to use.

Client Secret

Propprofiles[].clientSecret
Type({ ref: string } | undefined)
Defaultundefined

The OpenID Connect Client Secret to use.

Scope

Propprofiles[].scope
Typestring
Defaultundefined

The list of claims to request from the provider, space separated.

On Callback

Propprofiles[].onCallback
Type({ function: { ref: string } } | null)
Defaultundefined

The event handler to be called upon the successful completion of the authentication. This property can be used to chain function calls.

Callback Route Override

Propprofiles[].route
Typestring
Defaultundefined

The route where the callback endpoint should be mounted, relative to the project's endpoints root URL. Supports all routes supported by express via path-to-regexp.

Use as Sign-in Provider

Propprofiles[].isSignInProvider
Typeboolean
Defaultundefined

Whether this OpenID Connect resource can be used as a sign-in provider. Users may use this resource to authenticate with the application current user.

Enable Groups

Propprofiles[].enableGroups
Typeboolean
Defaultundefined

Whether this resource can retrieve group memberships.

Display Name

Propprofiles[].displayName
Typestring
Defaultundefined

The human-readable name of the sign-in provider. This is used to display the name of the sign-in provider in the application.

Use Legacy Callback URL

Propprofiles[].useLegacyCallbackURL
Typeboolean
Defaultundefined

Whether this resource should use the legacy callback URL for the OAuth2 authentication process. This will not apply to all new apps.

Group Admin Token Secret

Propprofiles[].groupsClientSecret
Type({ ref: string } | undefined)
Defaultundefined

The Google Admin Token Secret to retrieve workspace groups.

Use Custom Configuration

Propprofiles[].useCustomConfig
Typeboolean
Defaultundefined

Whether to use a custom OAuth client. If set to false, Dynaboard's OAuth client will be used.

Environment

Propprofiles[].environment
Typestring
Defaultundefined

The name of the environment with which this profile is associated

Actions

Start authentication flow

Generates a redirect URL for the start of the OpenID Connect authentication flow.

ParameterTypeDefault

Revoke OIDC authorization

Revokes the OpenID Connect authorization flow.

ParameterTypeDefault

Get authentication session

Gets the authentication session for.

ParameterTypeDefault
pathstringundefined