user.login - Fluid Topics - Latest

Integrate the Fluid Topics API

Category
Technical Notes
Audience
public
Version
Latest

This server event occurs when any user logs in to a Fluid Topics portal.

This event contains the following fields:

Field Description
trigger The type of login. Can be manual (indicates an interface login), api (indicates an API login), or sso (indicates an SSO login).
outcome The HTTP status code returned after attempting to authenticate.
realmName The name of the realm in which the user logged in (Root user for default static authentication).
realmType The type of realm (static, LDAP, OIDC, SAML 2.0, internal).
rememberMe true if the user chooses to be remembered, false otherwise.
  • The most commonly returned HTTP status codes are 200 when authenticating successfully and 401 if invalid credentials are detected.
  • Not all HTTP status codes are available for SSO realms. For example, the Identity Provider does not share information about failed logins.

A table for the most common fields is in Analytics events.

Example:

[     
    {
        "appName": "ft/turnkey-portal",
        "appVersion": "4.1.23",
        "contentLocale": "en-US",
        "datetime": 1682947335256,
        "id": "f0ea5d3b-554d-45c0-8840-3531411c5f15",
        "name": "user.login",
        "offline": false,
        "parameters": {
            "outcome": 200,
            "realmName": "internal",
            "realmType": "internal",
            "rememberMe": true,
            "trigger": "manual"
        },
        "sessionId": "1a6417d6-2977-4d1d-a3c9-9b9a240dc311",
        "tenantId": "1-stable",
        "uiLocale": "en-US",
        "user": {
            "groups": [],
            "id": "d554325-eef7-4850-93c1-cea73446582060",
            "roles": [
                "PERSONAL_BOOK_SHARE_USER",
                "OFFLINE_USER",
                "HTML_EXPORT_USER",
                "COLLECTION_USER",
                "PRINT_USER",
                "SAVED_SEARCH_USER",
                "FEEDBACK_USER",
                "RATING_USER",
                "PDF_EXPORT_USER",
                "PERSONAL_BOOK_USER"
            ]
        },
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.64",
        "userIp": "192.168.2.3"
    }
]