LDAP Authentication with Symfony 2.8

前端 未结 4 1064
时光取名叫无心
时光取名叫无心 2021-02-09 08:20

I\'m trying to use the new LdapUserProvider in Symfony 2.8. I believe I have configured everything per the docs.

My user can successfully authenticate, and then gets red

4条回答
  •  臣服心动
    2021-02-09 08:55

    Finally I found what was the problem.

    You have to chain the UserProvider:

    chain_provider:
        chain:
                 providers: [in_memory, app_users]
        in_memory:
            memory: ~
        app_users:
            ldap:
               .....
    

提交回复
热议问题