Skip to content

feat(app-auth): Make signInPage config optional and derive from auth providers#3286

Open
JessicaJHee wants to merge 1 commit into
redhat-developer:mainfrom
JessicaJHee:optional-signinpage
Open

feat(app-auth): Make signInPage config optional and derive from auth providers#3286
JessicaJHee wants to merge 1 commit into
redhat-developer:mainfrom
JessicaJHee:optional-signinpage

Conversation

@JessicaJHee
Copy link
Copy Markdown
Member

@JessicaJHee JessicaJHee commented Jun 3, 2026

Hey, I just made a Pull Request!

  • Makes the root signInPage config optional
    • When unset, the sign-in page now builds its provider list from keys under auth.providers (excluding guest), falling back to GitHub if none are configured
    • Explicit signInPage config still overrides the list and maintains previous behaviour.

Fixes RHIDP-13492

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented Jun 3, 2026

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-app-auth workspaces/app-defaults/plugins/app-auth minor v0.0.2

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.92%. Comparing base (c1fbaa9) to head (2c59e28).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3286   +/-   ##
=======================================
  Coverage   53.92%   53.92%           
=======================================
  Files        2379     2379           
  Lines       86125    86125           
  Branches    23915    23915           
=======================================
  Hits        46441    46441           
  Misses      38175    38175           
  Partials     1509     1509           
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from c1fbaa9
ai-integrations 70.03% <ø> (ø) Carriedforward from c1fbaa9
app-defaults 69.60% <ø> (ø) Carriedforward from c1fbaa9
augment 46.39% <ø> (ø) Carriedforward from c1fbaa9
bulk-import 72.86% <ø> (ø) Carriedforward from c1fbaa9
cost-management 16.49% <ø> (ø) Carriedforward from c1fbaa9
dcm 59.64% <ø> (ø) Carriedforward from c1fbaa9
extensions 61.79% <ø> (ø) Carriedforward from c1fbaa9
global-floating-action-button 74.30% <ø> (ø) Carriedforward from c1fbaa9
global-header 61.63% <ø> (ø) Carriedforward from c1fbaa9
homepage 51.52% <ø> (ø) Carriedforward from c1fbaa9
konflux 91.01% <ø> (ø) Carriedforward from c1fbaa9
lightspeed 68.50% <ø> (ø) Carriedforward from c1fbaa9
mcp-integrations 85.46% <ø> (ø) Carriedforward from c1fbaa9
orchestrator 37.34% <ø> (ø) Carriedforward from c1fbaa9
quickstart 62.09% <ø> (ø) Carriedforward from c1fbaa9
sandbox 79.56% <ø> (ø) Carriedforward from c1fbaa9
scorecard 83.84% <ø> (ø) Carriedforward from c1fbaa9
theme 64.54% <ø> (ø) Carriedforward from c1fbaa9
translations 8.49% <ø> (ø) Carriedforward from c1fbaa9
x2a 78.79% <ø> (ø) Carriedforward from c1fbaa9

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1fbaa9...2c59e28. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JessicaJHee JessicaJHee requested a review from gashcrumb June 3, 2026 20:33
Comment thread workspaces/app-defaults/plugins/app-auth/src/components/SignInPage.tsx Outdated
…providers

Signed-off-by: Jessica He <jhe@redhat.com>
@JessicaJHee JessicaJHee force-pushed the optional-signinpage branch from e107552 to 2c59e28 Compare June 4, 2026 13:24
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

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