projectsyn/commodore

Commodore OIDC login doesn't work with documented Docker command

simu opened this issue · 0 comments

simu commented

The Docker command documented in https://github.com/projectsyn/commodore/blob/master/docs/modules/ROOT/pages/explanation/running-commodore.adoc doesn't work when trying to use OIDC login.

The Docker command is missing at least the call back port (18000) and should probably mount the user's ~/.cache/commodore so tokens can be cached.

Steps to Reproduce the Problem

  1. Use docker command to run Commodore
  2. Run commodore fetch-token against an OIDC-enabled Lieutenant
  3. Observe that callback from IdP doesn't work

Actual Behavior

IdP callback to localhost:18000 fails

Expected Behavior

IdP callback to localhost:18000 succeeds and token is printed to stdout