-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Added Discovery to grpc #3598
Added Discovery to grpc #3598
Conversation
8d0ac8b
to
2be966f
Compare
Signed-off-by: Koen de Laat <koen.de.laat@philips.com>
2be966f
to
6bbd1ff
Compare
@nabokihms, Can you add the required labels? |
cf4ec26
to
6bbd1ff
Compare
@koendelaat sure I can! Could you please share why do we need this feature? |
This allows for API clients to get information about the Dex server. Especially when used in Infrastructure as Code (e.g. Terraform, Crossplane), this information can be used to provision other resources that might require this information (e.g. I've extended the terraform provider with this functionality based on this PR, see https://github.com/koendelaat/terraform-provider-dexidp/ and https://registry.terraform.io/providers/koendelaat/dexidp/latest/docs/data-sources/discovery |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, it looks great. Thanks @koendelaat
Signed-off-by: Koen de Laat <koen.de.laat@philips.com>
Overview
Adds the discovery information to the API
What this PR does / why we need it
Allow API clients to retrieve important information regarding dex config (e.g.
issuerUrl
)Use-case:
API is being used to create
clients
, however to use this client theissuerUrl
is required