# Remove domain name when login with IIS authentication

**URL:** <https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257>\
**Category:** Authentication\
**Created:** [December 24, 2018, 2:58pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257 "2018-12-24T14:58:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stareast](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stareast](https://discuss.workflowgen.com/u/stareast)\
**Post date:** [December 24, 2018, 2:58pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/1 "2018-12-24T14:58:35Z")

</div>

I have selected IIS for authentication and linked to AD to retrieve my user listing. My users will always need to type ‘domain/username’ during login and being a new implementation, many of them are not aware that they need to type in the domain in front. Is it possible to do any settings such that the users do not need to enter the domain during login or to append the domain name to their login username before authentication?

---

<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:** [December 24, 2018, 3:12pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/2 "2018-12-24T15:12:45Z")

</div>

Hi @stareast,

There are two types of authentications that WorkflowGen uses with IIS.

**Windows Integrated authentication:** The users don’t need to put any credentials to authenticate; the system will automatically log them in with the user they are logged in on their computer.

**Basic authentication:** The users need to put valid credentials. If the users are not local Windows users, there is no way the system can identify them, so a domain name is required for a successful log in. You can always create a custom module for your authentication to concatenate the domain name with the username but that is not supported by default with WorkflowGen.

Regards,  
Eddy.

---

<div class="post-metadata">

**Author:** ![stareast](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stareast](https://discuss.workflowgen.com/u/stareast)\
**Post date:** [December 24, 2018, 3:30pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/3 "2018-12-24T15:30:34Z")

</div>

> [@eddy.daouk](#):
>
> Windows Integrated authentication

Hi Eddy, thanks for the prompt reply. May i know how do i set it as Windows Integrated authentication?  
Also, how do i create a custom module for my authentication to concat with the domain name?  
Thanks!

---

<div class="post-metadata">

**Author:** ![stareast](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stareast](https://discuss.workflowgen.com/u/stareast)\
**Post date:** [December 24, 2018, 3:49pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/4 "2018-12-24T15:49:56Z")

</div>

If i choose Windows Integrated authentication, may i know what happens if my users are accessing from their home computer and login to their own home computer windows account, using vpn to access workflowgen hosted on our company intranet? Will they be able to login to workflowgen hosted on our intranet since they are not login to the company user account on windows? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![stareast](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stareast](https://discuss.workflowgen.com/u/stareast)\
**Post date:** [December 26, 2018, 2:02pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/5 "2018-12-26T14:02:52Z")

</div>

Hi, any response from anyone?

---

<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:** [December 27, 2018, 3:35pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/6 "2018-12-27T15:35:27Z")

</div>

Hi @stareast,

> [@stareast](#):
>
> May i know how do i set it as Windows Integrated authentication?

First, In the WorkflowGen site, make sure that you are using IIS authentication mode in the the Admin section Configuration Panel → General → Authentication → Mode

Second, in IIS, click on the WorkflowGen site then “Authentication” feature under the IIS section:  
Disable all authentications and only enable Windows Authentication.

 ![Capture](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/632cda3db564608c8d94fe65de0691e3b22b1733.png)

> [@stareast](#):
>
> Also, how do i create a custom module for my authentication to concat with the domain name?

Here is an article regarding this:

> [@Setup: Authentication: SSO integration by using a Custom HTTP module](https://discuss.workflowgen.com/t/setup-authentication-sso-integration-by-using-a-custom-http-module/619):
>
> WorkflowGen supports Single Sign On integration with a tier application. Two main technical solutions are possible: Form authentication (see the [Setup: Authentication: SSO integration by using form authentication](https://discuss.workflowgen.com/t/setup-authentication-sso-integration-by-using-form-authentication/618) topic for more information) Custom HTTP module The advantage of the custom HTTP module solution is that it secures all WorkflowGen HTTP requests, including web services. It also provides more customization possibilities than the form authentication-based solution. This article…

> [@stareast](#):
>
> If i choose Windows Integrated authentication, may i know what happens if my users are accessing from their home computer and login to their own home computer windows account, using vpn to access workflowgen hosted on our company intranet? Will they be able to login to workflowgen hosted on our intranet since they are not login to the company user account on windows?

This setup will not work with Windows Integrated since the system won’t be able to identify the user.  
A good solution to make it work with Windows authentication is to give the users remote access to their work computer. They would be able to login in their work computer remotely and authenticate successfully with Windows authentication.

Happy Holidays!

Regards,  
Eddy.

---

<div class="post-metadata">

**Author:** ![stareast](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stareast](https://discuss.workflowgen.com/u/stareast)\
**Post date:** [December 28, 2018, 2:11pm UTC](https://discuss.workflowgen.com/t/remove-domain-name-when-login-with-iis-authentication/1257/7 "2018-12-28T14:11:46Z")

</div>

Thanks Eddy! Happy Holidays to u too.
