# Security error when connecting to WorkflowGen

**URL:** <https://discuss.workflowgen.com/t/security-error-when-connecting-to-workflowgen/611>\
**Category:** Authentication\
**Created:** [August 13, 2007, 1:45am UTC](https://discuss.workflowgen.com/t/security-error-when-connecting-to-workflowgen/611 "2007-08-13T01:45:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [August 13, 2007, 1:45am UTC](https://discuss.workflowgen.com/t/security-error-when-connecting-to-workflowgen/611/1 "2007-08-13T01:45:22Z")

</div>

## Issue

You receive a security error when connecting to the WorkflowGen User Portal or Administration Module after completing the installation and configuration.

## Cause

If you currently log in to Windows using your domain account (e.g. `User1`) and try to connect to WorkflowGen using Windows Integrated authentication, WorkflowGen will try to authenticate `User1` and search for a user named `User1` in its database. Since this is a new installation, this user won’t exist because it hasn’t been created yet.

By default, there is only one account with which you can log in to WorkflowGen with after the installation (`wfgen_admin`).

## Solution 1

1. Log in to Windows using the `wfgen_admin` account.

2. Connect to the Administration Module.

3. Create the user (e.g. `User1`) in the the directory manually, or perform a directory synchronization with your company’s Active Directory.

4. Once the user has been created, log out of Windows, then log back in using your domain account.

You should now be able to access the WorkflowGen application.

## Solution 2

1. Change the WorkflowGen website authentication to Basic authentication. (See the [Security](https://docs.advantys.com/workflowgen-technical-reference-guide/security) section in the [WorkflowGen Technical Guide](https://docs.advantys.com/workflowgen-technical-reference-guide/) for more information on authentication methods.)

2. Log in to WorkflowGen using the `wfgen_admin` account.

3. Create the user (e.g. `User1` ) in the the directory manually, or perform a directory synchronization with your company’s Active Directory.

4. Change the WorkflowGen website authentication back to Windows Integrated.

You should now be able to access the WorkflowGen application.
