# Redirect issue at login

**URL:** <https://forum.flowable.org/t/redirect-issue-at-login/3546>\
**Category:** Flowable Engine\
**Created:** [March 10, 2019, 4:18pm UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546 "2019-03-10T16:18:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chbe8475](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@chbe8475](https://forum.flowable.org/u/chbe8475)\
**Post date:** [March 10, 2019, 4:18pm UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546/1 "2019-03-10T16:18:17Z")

</div>

I have just installed flowable in AWS on an EC2 instance. No proxy or anything. I took all of the war files and put them in the webapps folder of the tomcat.  
I added a application.properties file in the lib folder of the tomcat with only one line:  
‘flowable.common.app.idm-url=http://server-url:8080/flowable-idm’  
I have not changed database so I am using default H2.

I went to [http://server-url:8080/flowable-idm](http://server-url:8080/flowable-idm) and added users. I did also change the password for admin. So far so good.

When I try to go to [http://server-url:8080/flowable-task](http://server-url:8080/flowable-task) I am redirected to flowable-idm and prompted with the login page. Ok. I enter admin and the newly changed password. I am once again redirected back to the login page and prompted for username and password. No special error message occurs.  
When I enter an invalid password I get an error message just below the login-box saying ‘invalid credentials’. Entering the correct password once again I still get back to the same page but now the error message is gone.

The url in the browser looks like this:  
[http://server-url:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http:%2F%2Fserver-url:8080%2Fflowable-task%2F](http://server-url:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http:%2F%2Fserver-url:8080%2Fflowable-task%2F)

What have I missed in my setup to make this work?  
(On my local laptop with a local tomcat using localhost everything works as expected)

Thanks,  
Christer

---

<div class="post-metadata">

**Author:** ![rgorzkowski](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/rgorzkowski/32/1365_2.png) [@rgorzkowski](https://forum.flowable.org/u/rgorzkowski)\
**Post date:** [March 10, 2019, 10:02pm UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546/2 "2019-03-10T22:02:22Z")

</div>

Hi @chbe8475

It looks similar to this toipic [Redirecting to login page when id admin password other than test](https://forum.flowable.org/t/redirecting-to-login-page-when-id-admin-password-other-than-test/2475)

---

<div class="post-metadata">

**Author:** ![chbe8475](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@chbe8475](https://forum.flowable.org/u/chbe8475)\
**Post date:** [March 11, 2019, 6:05pm UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546/3 "2019-03-11T18:05:16Z")

</div>

Hi @rgorzkowski,  
Yes, the symptons are the same. However, I am using the downloaded war-files in a tomcat, I am not using docker at all.  
By changing the password back to ‘test’ it sure works, but I would really like to change the default password 🙂  
Is there a property to set in the application.properties?

Thanks,  
Christer

---

<div class="post-metadata">

**Author:** ![rgorzkowski](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/rgorzkowski/32/1365_2.png) [@rgorzkowski](https://forum.flowable.org/u/rgorzkowski)\
**Post date:** [March 11, 2019, 6:35pm UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546/4 "2019-03-11T18:35:52Z")

</div>

Hi @chbe8475

What about flowable.common.app.idm-admin.password property ?

[https://www.flowable.org/docs/userguide/index.html#\_flowable\_ui\_applications\_configurations](https://www.flowable.org/docs/userguide/index.html#_flowable_ui_applications_configurations)

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.flowable.org/u/Robinyo)\
**Post date:** [March 12, 2019, 1:07am UTC](https://forum.flowable.org/t/redirect-issue-at-login/3546/5 "2019-03-12T01:07:12Z")

</div>

> [@chbe8475](#):
>
> Is there a property to set in the application.properties?

I changed the following:

```auto
#
# DEFAULT ADMINISTRATOR ACCOUNTS
#

FLOWABLE_IDM_APP_ADMIN_USER_ID=flowable
FLOWABLE_IDM_APP_ADMIN_PASSWORD=test
FLOWABLE_IDM_APP_ADMIN_FIRST_NAME=Flowable
FLOWABLE_IDM_APP_ADMIN_LAST_NAME=Administrator
FLOWABLE_IDM_APP_ADMIN_EMAIL=admin@flowable.org

FLOWABLE_COMMON_APP_IDM_ADMIN_USER=flowable
FLOWABLE_COMMON_APP_IDM_ADMIN_PASSWORD=test

```

See: [How To: Flowable and LDAP](https://robferguson.org/blog/2019/01/28/how-to-flowable-and-ldap/)
