Skip to content

Also set the username in authproxy connector#3307

Merged
nabokihms merged 1 commit into
dexidp:masterfrom
tierklinik-dobersberg:fix/authproxy/set-username
Jan 26, 2024
Merged

Also set the username in authproxy connector#3307
nabokihms merged 1 commit into
dexidp:masterfrom
tierklinik-dobersberg:fix/authproxy/set-username

Conversation

@ppacher
Copy link
Copy Markdown
Contributor

@ppacher ppacher commented Jan 26, 2024

Overview

The authproxy connector only sets the preferred_username but not username. This causes issues with some OIDC clients that don't fallback to preferred_username.

One example here is rallly but I also noticed that there's no username when using dex with WikiJS.

What this PR does / why we need it

In addition to preferred_username, the authproxy connector now also set's the Username field on the connector.Identity

Update tests

Signed-off-by: Patrick Pacher <patrick.pacher@gmail.com>
Copy link
Copy Markdown
Member

@nabokihms nabokihms left a comment

Choose a reason for hiding this comment

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

@ppacher good catch! No objections to merge.

@nabokihms nabokihms merged commit 8e07edc into dexidp:master Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants