-
Hi, I am trying to get beyond initial setup for Janssen project. I followed the installation guide for docker compose. The installation finished and the containers got up. After logging into the jans container, I cannot get beyond authentication for TUI client. I am getting auth error message. Which client_id and credentials should I use with the TUI? I can access the healthcheck endpoint and the well-known endpoint. I could also connect to mysql and confirm that there is a set of clients provisioned. The curl command below results in authantication error as well: Can you point me in the right direction? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
If it helps, I do see /opt/jans/jans-setup/setup.properties.last file generated, but I do not see admin_password in it. |
Beta Was this translation helpful? Give feedback.
-
@misba7 Can you take a look? Are the docs not clear how to launch the TUI after install? |
Beta Was this translation helpful? Give feedback.
-
Please follow this doc that helps you on how to install the tui, get the client id & secret and authenticate using them |
Beta Was this translation helpful? Give feedback.
-
@misba7 is that page referenced on the monolith install page? And why don't we just install the TUI in the monolith itself? The goal of the monolith is convenience.... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Test client id and the password are default in this case. There were no configuration changes. curl -u "9876baac-de39-4c23-8a78-674b59df8c09:1t5Fin3#security" https://demoexample.jans.io/jans-auth/restv1/token -k -d "grant_type=client_credentials" |
Beta Was this translation helpful? Give feedback.
docker exec -ti docker-jans-monolith-jans-1 bash
cat setup.properties
and get the test_client_id and test_client_pw. These are the client id and client secret you will use with the config-cli/tuiBoth config-cli and config-cli-tui come installed in the container and are located under
/opt/jans/jans-cli/
So to use the tui for example:
python3 /opt/jans/jans-cli/config-cli-tui.py
and then pass the client id and secret you got in step 2