question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Description

The redirect url does not use the CHE_KEYCLOAK_AUTH-SERVER-URL value provided in the Docker command line.

Reproduction Steps

docker run -it -e CHE_MULTIUSER=true -e CHE_HOST=devcomb.com -e CHE_KEYCLOAK_AUTH-SERVER-URL=http://keycloak-keycloak.devcomb.com/auth/ -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:nightly start --skip:pull --skip:nightly

Result

URL has port 5050 but the authentication server is proxied thru port 80. Also the subdomain "keycloak-keycloak` is removed.

http://devcomb.com:5050/auth/realms/che/protocol/openid-connect/auth?client_id=che-public&redirect_uri=http%3A%2F%2Fdevcomb.com%3A8080%2Fdashboard%2F&state=44ced5f2-2ca0-4c0f-927a-acfcf254b2ab&nonce=7eb013f4-5b84-4081-be9a-7b8e6deece04&response_mode=fragment&response_type=code&scope=openid

Expected Result

http://keycloak-keycloak.devcomb.com/auth/realms/che/protocol/openid-connect/auth?client_id=che-public&redirect_uri=http%3A%2F%2Fdevcomb.com%3A8080%2Fdashboard%2F&state=44ced5f2-2ca0-4c0f-927a-acfcf254b2ab&nonce=7eb013f4-5b84-4081-be9a-7b8e6deece04&response_mode=fragment&response_type=code&scope=openid

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitfcommented, Nov 7, 2017

@JamesDrummond I’ve updated the description of the PR thanks

0reactions
Rijul5commented, Jan 30, 2018

Hi, I am trying to set up a workspace supporting multiple concurrent users. For this, i am using Multiple user assembly of Eclipse che and followed this thread.

On running the below command in windows powershell: docker run -it -e CHE_MULTIUSER=true -e CHE_HOST=<my ip> -e CHE_KEYCLOAK_AUTH_SERVER_URL=http://<my ip>/auth -v /var/run/docker.sock:/var/run/docker.sock -v /c/tmp:/data eclipse/che start

I am getting the below message: WARN: Bound ‘eclipse/che’ to ‘eclipse/che:5.22.1’ /scripts/base/startup_02_pre_docker.sh: line 14: /data/cli.log: Resource busy INFO: (che cli): 5.22.1 - using docker 17.12.0-ce / docker4windows WARN: Newer version ‘6.0.0-M4’ available INFO: (che start): Booted and reachable INFO: (che start): Ver: 5.22.1 INFO: (che start): Use: http://localhost:8080 INFO: (che start): API: http://localhost:8080/swagger

Now can you please guide me further steps and other steps if i am missing to set up the workspace which multiple users can access concurrently from different machines ?

Looking forward to your response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring the hostname - Server - Keycloak
The base URL for each group has an important impact on how tokens are issued and validated, on how links are created for...
Read more >
Getting Started Guide - Keycloak
Click the Administration Console link on the Welcome page or go directly to http://localhost:8080/auth/admin/ (the console URL).
Read more >
All configuration - Keycloak
Sets the database name of the default JDBC URL of the chosen vendor. ... Set the base URL for accessing the administration console,...
Read more >
Securing Applications and Services Guide - Keycloak
The base URL of the Keycloak server. All other Keycloak pages and REST service endpoints are derived from this. It is usually of...
Read more >
Configuring Keycloak
In the example above, the db-url value is set in all three configuration sources. The actual value that is used at startup would...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found