Active Directory authentication for SaaS product

前端 未结 5 2060
礼貌的吻别
礼貌的吻别 2020-12-30 02:19

After some theoretical help on the best approach for allowing a SaaS product to authenticate users against a tenant\'s internal Active Directory (or other LDAP) server.

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 02:41

    My understanding is that there are three possible solutions:

    1. Installing something on the domain controller to capture all user changes (additions, deletions, password changes) and send updates to the remote server. Unfortunately there's no way for the website to know the initial user passwords - only new ones once they are changed.

    2. Provide access for the web server to connect to your domain controller via LDAP/WIF/ADFS. This would probably mean opening incoming ports in the company's firewall to allow a specific IP.

    3. Otherwise, bypass usernames/passwords and use email-based authentication instead. Users would just have to authenticate via email once every 3-6 months for each device.

    I have to begin implementing this for an upcoming project and I'm seriously leaning towards option #3 for simplicity.

提交回复
热议问题