Flowable with custom url idm not redirecting back

Hey there,

I’m trying to set-up flowable on Azure in a docker container. I want to use a custom URL, for example: flowable.example.net.

While I got most of this working I hit a problem while trying to log in to the Modeler. When surfing to flowable.example.com/flowable-modeler I get correctly redirected to the IDM (with url: https://flowable.example.net/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http:%2F%2Fflowable.example.net%2Fflowable-modeler%2F). After logging in this page just refreshes.

After putting in the credentials, if I surf directly to flowable.example.com/flowable-idm I get logged in to the admin panel. When I surf directly to flowable.example.com/flowable-modeler it redirects me to the login page again.

My application.config looks like this:

spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://database-url:3306/flowable?characterEncoding=UTF-8&useSSL=true&allowPublicKeyRetrieval=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=flowable
idm.app.url=http://flowable.example.net/flowable-idm
flowable.idm.app.admin.user-id=gijs
flowable.common.app.idm-admin.user=gijs

I have also set the flowable.idm.app.admin.password and spring.datasource.password options in the environment.

What am I missing/doing wrong here?

Thanks in advance!

I fixed this by also setting the following:

idm.admin.user
idm.admin.password

and adding

<Connector port="8080" protocol="HTTP/1.1" secure="true" scheme="https" proxyPort="443" />

to /opt/tomcat/conf/server.xml