From c621998adcf89ba7132ff9519c1b9e41af955596 Mon Sep 17 00:00:00 2001 From: Jessica He Date: Mon, 24 Aug 2026 11:42:22 -0400 Subject: [PATCH] fix(auth): add default resolver to github auth provider Signed-off-by: Jessica He --- docs/changelog.md | 8 +++++++- package.json | 2 +- src/deployment/rhdh/config/auth/github/app-config.yaml | 3 +++ .../rhdh/config/auth/github/dynamic-plugins.yaml | 3 +++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index a7e34e8..7917b73 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. -## [2.1.10] - Current +## [2.1.11] - Current + +### Fixed + +- **GitHub auth profile missing sign-in resolver**: The GitHub auth profile now ships `usernameMatchingUserEntityName` under `auth.providers.github.production.signIn.resolvers` in both `app-config.yaml` and `dynamic-plugins.yaml`. + +## [2.1.10] ### Fixed diff --git a/package.json b/package.json index 847bfee..054cbef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "2.1.10", + "version": "2.1.11", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { diff --git a/src/deployment/rhdh/config/auth/github/app-config.yaml b/src/deployment/rhdh/config/auth/github/app-config.yaml index 552584c..7cba333 100644 --- a/src/deployment/rhdh/config/auth/github/app-config.yaml +++ b/src/deployment/rhdh/config/auth/github/app-config.yaml @@ -8,6 +8,9 @@ auth: clientSecret: ${GITHUB_OAUTH_APP_SECRET} clientId: ${GITHUB_OAUTH_APP_ID} callbackUrl: ${RHDH_BASE_URL}/api/auth/github/handler/frame + signIn: + resolvers: + - resolver: usernameMatchingUserEntityName signInPage: github catalog: locations: diff --git a/src/deployment/rhdh/config/auth/github/dynamic-plugins.yaml b/src/deployment/rhdh/config/auth/github/dynamic-plugins.yaml index dad56f0..cb6530c 100644 --- a/src/deployment/rhdh/config/auth/github/dynamic-plugins.yaml +++ b/src/deployment/rhdh/config/auth/github/dynamic-plugins.yaml @@ -10,3 +10,6 @@ plugins: clientId: ${GITHUB_OAUTH_APP_ID} clientSecret: ${GITHUB_OAUTH_APP_SECRET} callbackUrl: ${RHDH_BASE_URL}/api/auth/github/handler/frame + signIn: + resolvers: + - resolver: usernameMatchingUserEntityName