raw_data
variable) to a variable that gets returned to populate the Auth0 user profile.
The first part of the function instantiates a variable called profile
and has a mapping for the core portion of the Auth0 User Profile. Additional attributes can be set below that using syntax in the form:
profile['department'] = raw_data['companydept'];
In this example, department
is the name of the attribute in the Auth0 user profile and companydept
is the name of the attribute in the source directory service (such as AD).
Test | Description | Troubleshoot |
---|---|---|
Test 1 | Attempts to establish a TCP connection to the LDAP server and port specified. | Check basic network connectivity and firewall settings that might prevent such a connection. |
Test 2 | Attempts to perform an LDAP bind on the LDAP server and port specified and with the username and password provided. | Check the LDAP connection string, search path, username and password. |
Test 3 | Attempts to perform an LDAP search against the directory to check the privileges of the specified username. | Check the privileges of the username in the target directory. |
Test 4 | Attempts to establish a connection to the Auth0 server. | Check network connectivity and firewall settings that might prevent such a connection. |