• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

LDAP

Scheduled Pinned Locked Moved
General Discussion
2
2
2.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    david.billings
    last edited by 20 Jul 2022, 14:29

    Hi Guys,

    We're looking at using LDAP to connect to an external customer system. Does FA remove users once they've been removed from LDAP? Is there anyway to sync this and sync the users without each user having to login?

    Regards

    David

    D 1 Reply Last reply 16 Aug 2022, 03:02 Reply Quote 0
    • D
      dan @david.billings
      last edited by 16 Aug 2022, 03:02

      @david-billings

      Does FA remove users once they've been removed from LDAP?

      If you use the LDAP as the source of truth, the users won't be able to login, but they won't be removed.

      So, consider this scenario (no migration, just always going back to LDAP):

      • User A logs in successfully through a tenant configured with an LDAP Connector. User A has an account in the LDAP server.
      • FusionAuth checks with the LDAP connector, passing the credentials.
      • The LDAP server says "yup, User A is okay."
      • FusionAuth creates a user.
      • Time passes.
      • User A is removed from the LDAP server.
      • User A tries to login.
      • FusionAuth checks with the LDAP connector, passing the credentials.
      • The LDAP server says "User A is not found"
      • FusionAuth denies the login.

      But the user still exists.

      Is there anyway to sync this and sync the users without each user having to login?

      You want to sync the users between LDAP and FusionAuth without the user having to login? Is this a one way sync?

      You could do a bulk migration using the Import User API if you have access to the LDAP database and can provide the password hashes.

      That is the only option that comes to mind.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • First post
        Last post