Microsoft Authentication Resource Node

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

Properties

Client ID (Application ID)

PropclientID
Typestring

The OpenID Connect Client ID to use. Note that this is the Application ID for your app and not the Value field of your secret credential.

Client Secret

PropclientSecret
Type({ ref: string } | undefined)

The OpenID Connect Client Secret to use.

Scope

Propscope
Typestring
Defaultundefined

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

Callback Route Override

Proproute
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

PropisSignInProvider
Typeboolean
Default{{true}}

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.

Display Name

PropdisplayName
Typestring

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

Azure Tenant

Proptenant
Typestring
Defaultcommon

The Azure tenant identifier. Use this to control who can sign in to the application. This value only needs to be changed if your tenant does not include personal Microsoft accounts.

Event Handlers

On Callback

HandlermicrosoftAuthNode.onCallback

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

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