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

Pass optional connector_id to cluster_context #146

Merged
merged 2 commits into from
Nov 19, 2020

Conversation

corest
Copy link
Contributor

@corest corest commented Nov 18, 2020

My use-case is:

  • dex with two connectors, e.g. github with id "id1" and Microsoft with id "id2"
  • two dex-k8s-authenticator apps:
    • /login/app1 -> this should call dex with github connector
    • /login/app2 -> this should call dex with microsoft connector
      The goal is to skip dex login page where you need to choose your connector.

With this change, I can configure my separate dex-k8s-authenticator apps with connector_id: id1 and connector_id: i2 respectively for cluster context. Then visiting a separate authenticator app will point me directly to a specified connector

@corest corest changed the title Pass optional connector_id Pass optional connector_id to cluster_context Nov 18, 2020
Copy link
Contributor

@nabadger nabadger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I didn't know this option existed in Dex :)

@nabadger nabadger merged commit 0e2a9e3 into mintel:master Nov 19, 2020
@corest corest deleted the pass_connector_id branch November 19, 2020 11:28
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants