Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dex configuration docs are incomplete #172

Open
stoehdoi opened this issue Mar 15, 2022 · 0 comments
Open

Dex configuration docs are incomplete #172

stoehdoi opened this issue Mar 15, 2022 · 0 comments

Comments

@stoehdoi
Copy link

Is this a BUG REPORT

What happened:
I followed the instructions to use Dex for litmus chaos center but it did not work when following the documentation. Apparently, the litmus-server deployment requires some more environmental variables to be set which are not described in the how-to. Those are:

    DEX_OAUTH_CLIENT_SECRET: <client secret for dex static client>
    DEX_OAUTH_CLIENT_ID: <client ID of dex static client>

The two ENV vars are required in the oauth2 config:
https://github.com/litmuschaos/litmus/blob/2.6.0/litmus-portal/authentication/api/handlers/rest/dex_auth_handler.go#L26-L27

What you expected to happen:
The litmus docs to include all the required details to make litmus <-> dex integration work

How to reproduce it (as minimally and precisely as possible):
Following the documentation will lead to an error page when trying to authenticate via the /auth/dex/login endpoint complaining about the client_id to be empty ("").

Anything else we need to know?:
There had been some more bugs that seem to be fixed in master already like the change of ENV var names (DEX_SERVER -> DEX_ENABLED, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant