Skip to content

chore(x2a): Add GitHub auth provider#2188

Merged
mareklibra merged 1 commit intoredhat-developer:mainfrom
mareklibra:multipleUsers
Jan 29, 2026
Merged

chore(x2a): Add GitHub auth provider#2188
mareklibra merged 1 commit intoredhat-developer:mainfrom
mareklibra:multipleUsers

Conversation

@mareklibra
Copy link
Member

@mareklibra mareklibra commented Jan 28, 2026

Fixes: FLPATH-3085

Depends on (needs rebase):

Adding configuration to enable GitHub auth provider in our DEV environment.

To use it, make sure to set following environment variables:

export AUTH_GITHUB_CLIENT_ID=....
export AUTH_GITHUB_CLIENT_SECRET=...
yarn dev

There was attempt to add RBAC but this will need more work since @backstage/plugin-permission-backend fails to load.
This will be fixed in a follow-up, some debugging insight is included.

@mareklibra mareklibra marked this pull request as draft January 28, 2026 09:58
@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Jan 28, 2026

Unexpected Changesets

The following changeset(s) reference packages that have not been changed in this PR:

  • /home/runner/work/rhdh-plugins/rhdh-plugins/workspaces/x2a/.changeset/jolly-lizards-heal.md: @red-hat-developer-hub/backstage-plugin-x2a-common

Note that only changes that affect the published package require changesets, for example changes to tests and storybook stories do not require changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-x2a-backend workspaces/x2a/plugins/x2a-backend patch v0.1.0
@red-hat-developer-hub/backstage-plugin-x2a workspaces/x2a/plugins/x2a patch v0.1.0

@mareklibra
Copy link
Member Author

Setting to draft to prevent accidental merge before the underlying PR

@@ -0,0 +1,7 @@
p, role:default/x2aAdmin, x2a.admin, read, allow
Copy link
Member Author

Choose a reason for hiding this comment

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

So far just an example.

The dev instance will be configured in a follow-up, failing in the mocked dev Backstage instances used so far.

Signed-off-by: Marek Libra <marek.libra@gmail.com>
@sonarqubecloud
Copy link

@mareklibra mareklibra merged commit 2cfc56c into redhat-developer:main Jan 29, 2026
10 checks passed
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