Identity on server redirect to localhost 8084

I’ve deployed a self managed cluster (Docker based - development environment) using the docker compose.
All containers are up and running (Healthy) and all services (operate, tasklist, keycloak) can be accessed via the VM ip and their exposed ports, except Identity.
When I access Identity, web redirect me to
http://localhost:8084/auth/login

I have changed
IDENTITY_AUTH_PROVIDER_BACKEND_URL and IDENTITY_AUTH_PROVIDER_ISSUER_URL to

http://${HOST}:18080/auth/realms/camunda-platform

but it still doesn’t work.
Is there any setup I’m missing

Hi @Henderson_Dvid, Welcome to camunda community

Please mention your version name of camunda platform 8 you are using

Try changing IDENTITY_AUTH_PROVIDER_BACKEND_URL to

http://keycloak:8080/auth/realms/camunda-platform

Re-run the compose file

Hi @Praveen_Kumar_Reddy I’m using 8.3.0-alpha3. I have run docker compose with

IDENTITY_AUTH_PROVIDER_BACKEND_URL=http://keycloak:8080/auth/realms/camunda-platform

this is default value in docker-compose.yaml, but it’s not working.

@Henderson_Dvid
I have tried deploying the 8.3.0-alpha3 in docker though compose file without changing anything from the source code downloaded as a zip
It is working fine for me


I can login into Identity with username, password

Please use docker compose down -v to remove containers along with volumes
Re-run your compose file

Hope this helps
Praveen

1 Like

@Praveen_Kumar_Reddy
On my local, it’s working fine, but I’m trying to run it on my vps.
I have change HOST to my vps ip, and disable ssl_required as well.
I can access operator by link http://my_vps_ip:8081, but when access Identity by url http://my_vps_ip:8084, website redirect to http://localhost:8084/auth/login. I think it should be redirect to http://my_vps_id:18080/auth/realms/camunda-platform... like Operator

@Henderson_Dvid , Understood
I have tried with the earlier version of camunda 8.2.8 (didn’t have time to deploy 8.3 alpha in VP), where IDENTITY_AUTH_PROVIDER_BACKEND_URL,
IDENTITY_AUTH_PROVIDER_ISSUER_URL
were availabe as default then I have changed the url’s as below

      IDENTITY_AUTH_PROVIDER_BACKEND_URL: http://keycloak:8080/auth/realms/camunda-platform
      IDENTITY_AUTH_PROVIDER_ISSUER_URL: http://Your-IP:18080/auth/realms/camunda-platform
      IDENTITY_URL: http://Your-IP/:8084

Try adding IDENTITY_URL

Hope this helps

3 Likes

I have resolved my problem with your advise. Many thanks.
I can mark it as solution, so if anyone has permission to do it, please help me to mark this is solution

1 Like

@Henderson_Dvid, I’m glad that It helped you :innocent:

@nathan.loding He’s having the same issue that I have faced regarding the unavailability of option to select a reply as solution

Hope this issue is noticed and get’s fixed

Thanks
Praveen

2 Likes

Hi @Praveen_Kumar_Reddy and @Henderson_Dvid! I fixed the issue with the Solved plugin – it wasn’t enabled for this category. I went ahead and marked the solution. Thanks!

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.