-
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
Support the configuration of additional auth request parameters on OIDC connector #2504
Comments
It looks like an excellent addition to the OIDC connector! Thanks for the idea. The only concern about implementation is that this feature requires splitting command line parameters into two lists: params maintained by dex and additional params.
|
Hi @nabokihms - yes, agreed on that additional check for splatting standard OIDC params. I've implemented this on a fork for our own internal use for now - I'll raise a PR if that helps? |
Yeah, sure. I think it is worth seeing the code and reviewing it. |
Hi @nabokihms - could you clarify something please ...
By "maintained by dex" do you mean only the existing auth params managed in |
Hi @nabokihms, I've raised a draft PR for this change #2546. |
Hi @nabokihms , I've opened a new PR for this issue: #2631 |
@roddyherries I've created a refreshed PR of this issue here: #3831. I've made sure that your original work is still there and that there is a mention of you as an author. Hope you don't mind! |
Preflight Checklist
Problem Description
Some IdPs support login features that are accessible via additional parameters on an authorization request. The current OIDC connector implementation provides no mechanism to configure additional authorization request parameters and hence the IdP specific features are out of reach when using DEX.
For example, when authorizing with Auth0 a client can pass an
organization
parameter to tell Auth0 which organization the user must authenticate via:Proposed Solution
Extend the existing OIDC configuration with new map element
additionalAuthRequestParams
.Enhance
LoginURL
to add these parameters to the auth request:Alternatives Considered
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: