Skip to content

fix(keycloak): provide frontend visibility to auth provider configs#9403

Open
JessicaJHee wants to merge 1 commit into
backstage:mainfrom
JessicaJHee:keycloak-config-d-ts-visibility
Open

fix(keycloak): provide frontend visibility to auth provider configs#9403
JessicaJHee wants to merge 1 commit into
backstage:mainfrom
JessicaJHee:keycloak-config-d-ts-visibility

Conversation

@JessicaJHee

@JessicaJHee JessicaJHee commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

  • Mark the Keycloak auth provider config with @visibility frontend so configs can be exposed to the app to implement sign-in UI
  • Added signIn.resolvers entries for all resolvers to mirror other existing auth providers

✔️ 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)
  • All your commits have a Signed-off-by line in the message. (more info)

@backstage-goalie

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-auth-backend-module-keycloak-provider workspaces/keycloak/plugins/auth-backend-module-keycloak patch v0.1.0

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Keycloak auth backend module’s configuration schema so the Keycloak provider config can be surfaced to the frontend (for implementing sign-in UI), and documents the available signIn.resolvers options in config.d.ts to align with other auth providers’ config schemas.

Changes:

  • Marked auth.providers.keycloak config with @visibility frontend in the module’s config schema.
  • Added explicit signIn.resolvers union entries to config.d.ts for all Keycloak sign-in resolvers and their supported options.
  • Added a changeset bumping @backstage-community/plugin-auth-backend-module-keycloak-provider with a patch release note.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
workspaces/keycloak/plugins/auth-backend-module-keycloak/config.d.ts Exposes Keycloak provider config to frontend and adds typed signIn.resolvers schema entries.
workspaces/keycloak/.changeset/tender-beers-tan.md Declares a patch changeset for the config schema visibility/type additions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kz-masa kz-masa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! The structure matches the existing auth provider configs.

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.

4 participants