Skip to main content
Generate a temporary MFA token that can be used in place of other MFA tokens for a set time period. Required Scope: Manage users or Manage All.
External DocumentationTo learn more, visit the OneLogin documentation.

Parameters

ParameterDescription
Expires InThe duration of the token in seconds.

Defaults to 259200 seconds (72 hours). Valid range is 120-259200.
ReusableSelect to allow the token to be used multiple times within the expiry window.

When not selected, the token is invalid after a single use.
User IDThe ID of the user.

Example Output

{
	"mfa_token": "25992782",
	"expires_at": "2021-07-27T23:25:50Z",
	"reusable": false,
	"device_id": "user_temp_otp_36216766"
}

Workflow Library Example

Generate Mfa Token with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop