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

Add support for additional IdP authentication parameters in OIDC connector #3831

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

a-nych
Copy link

@a-nych a-nych commented Nov 7, 2024

Overview

This PR is a refresh of #2631 by @roddyherries.

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. This PR adds support to for such additional params to the OIDC connector.

What this PR does / why we need it

Adds a new "additionalAuthRequestParams" map to the OIDC Config struct
Populates the map from config at connector "open"
Adds any additional auth params to the auth LoginURL
Prevents mis-configuration attempts to override OIDC specified auth params.

Special notes for your reviewer

Issue: #2504

@a-nych a-nych force-pushed the roddyherries-support-auth-params branch from 218c6d6 to 553beb0 Compare November 7, 2024 09:41
@a-nych a-nych changed the title Support auth params Add support for additional IdP authentication parameters in OIDC connector Nov 7, 2024
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