# Authentication method for different Directories

**URL:** <https://discuss.workflowgen.com/t/authentication-method-for-different-directories/1164>\
**Category:** Authentication\
**Created:** [September 19, 2018, 6:19am UTC](https://discuss.workflowgen.com/t/authentication-method-for-different-directories/1164 "2018-09-19T06:19:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfgtest](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@wfgtest](https://discuss.workflowgen.com/u/wfgtest)\
**Post date:** [September 19, 2018, 6:19am UTC](https://discuss.workflowgen.com/t/authentication-method-for-different-directories/1164/1 "2018-09-19T06:19:39Z")

</div>

only 1 authentication method can be applied in workflowgen?

Can each Directory has its own authentication method?

so that DirectoryA use WorkflowGen HTTP Basic authentication (store user details in sql srv),  
DirectoryB use Integrated Windows authentication (store user details in window local account)

Thanks

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [September 20, 2018, 2:11pm UTC](https://discuss.workflowgen.com/t/authentication-method-for-different-directories/1164/2 "2018-09-20T14:11:58Z")

</div>

Hi,

We do not support in standard both WorkflowGen authentication (passwords managed in WorkflowGen) and windows integrated. A custom solution is needed to redirect the user to the right authentication method (based on criteria as IP address).  
But we recommend using an identity provider such as Azure AD, Windows ADFS or Auth0 to manage complex authentications.

Regards,  
Eddy.
