
t5eeo (t5eeo) asked a question.
Dear Okta team,
I am currently trying to configure a service to synchronize with Okta using its LDAP interface.
Our Okta organisation requires MFA to be enabled for Administrator. Therefore I can't use a password only account (https://help.okta.com/en/prev/Content/Topics/Directory/LDAP_Using_the_LDAP_Interface.htm).
Is there a way to connect via an API token that the service can use?
Regards,

Hi Thibault,
If your org has implement multifactor authentication (MFA) for admin users, you will be required to include your MFA token information along with your admin password when signing in to the LDAP Interface.
If MFA is enabled, the format for entering your password and MFA token is:
<password,MFAtoken>
For example, if using Okta Verify, you would enter the following:
password,123456
where password is your admin user password, and 123456 is the Okta Verify passcode.
For SMS-based and voice verification, the token needs to be generated prior to doing the BIND. For example, after you sign in and press Send Code, resulting in an SMS being sent to the phone. You can then do a BIND and SEARCH with that SMS in the format of password, text code.
If you need further assistance whit this please open a ticket and we will be there to help.
Kind regards,
Istvan Szep
Technical Support Engineer
Okta Global Customer Care