Skip to main content
Get a real-time risk score for a user before completing a critical task or action. The risk score ranges from 0 to 100, where 0 is low risk and 100 is the highest risk. Use this as part of authentication flows to determine if step-up MFA is needed. The score accuracy improves as more training data is supplied via the Track Event action. Required Scope: Authentication Only, Read Users, Manage users, Read All, or Manage All.
External DocumentationTo learn more, visit the OneLogin documentation.

Basic Parameters

ParameterDescription
IPThe IP address.
User AgentThe user agent string.

Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3)
User AuthenticatedSelect to include if the metadata should be trusted.
User IDThe ID of the user. For OneLogin Adaptive Authentication, use format: {region}_{OneLogin User Id} (e.g., US_12345678).
User NameThe name of the user.

Advanced Parameters

ParameterDescription
Device IDThe device ID (e.g., xxx-xxx-xxx)
FP CookieThe value of the __tdli_fp cookie.
Session IDThe session ID (e.g., xxxx-xxxxx-xxxxx-xxxxx)
Source IDThe ID of the source, based on a group, customer, account, or user.
Source NameThe name of the source.

Example Output

{
	"score": 24,
	"triggers": [
		"Accessed from a new IP address",
		"Infrequent access from 125.238.248.246",
		"Infrequent access from Auckland, Auckland, New Zealand",
		"Infrequent access using Chrome on Macintosh",
		"Low trust for session"
	],
	"messages": []
}

Workflow Library Example

Get Risk Score with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop