Skip to main content

Get a user by auth data

GET 

/api/v4/users/auth_data

Get a user by their external auth data identifier. The value is matched against what is stored in Users.AuthData, which for most identity providers is the identifier as the provider issues it.

The exception is Active Directory objectGUID: under auth_service: ldap it is stored as the LDAP filter hex-escape form (e.g. \61\14\e1\d1\c5\35\18\4a\b6\60\d6\78\50\fd\0d\5d), and under auth_service: saml it is stored as the standard Base64 of the same bytes (e.g. YRTh0cU1GEq2YNZ4UP0NXQ==). Use the form matching the user's current AuthService.

Permissions

Must be a system admin.

Request

Responses

User retrieval successful