fix(deps): update dependency keycloak-js to v26 - #5727
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5727 +/- ##
=======================================
Coverage 67.81% 67.81%
=======================================
Files 386 386
Lines 22432 22432
Branches 3105 3105
=======================================
Hits 15212 15212
Misses 6060 6060
Partials 1160 1160 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
conbrad
approved these changes
Aug 19, 2026
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
^25.0.0→^26.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
keycloak/keycloak-js (keycloak-js)
v26.2.4Compare Source
Highlights
This release of Keycloak JS addresses two regressions in the Cordova adapter that were introduced in version
26.2.1.Bug Fixes
Cordova adapter no longer triggers duplicate authentication requests
A regression introduced in version
26.2.1caused the Cordova in-app browser to fire multipleloadstartevents before the token exchange completed, resulting in concurrent authentication requests that could fail the login flow. Thecompletedflag is now set before awaiting the token exchange, preventing duplicate processing of the redirect URI.keycloak/keycloak-js#208
Cordova in-app browser now closes before awaiting token exchange
A regression introduced in version
26.2.1caused the Cordova in-app browser to remain open during the asynchronous token exchange, resulting in a brief "Web page not available" error flashing on Android before the browser eventually closed. The browser is now closed immediately after the redirect URI is captured, before the token exchange begins.keycloak/keycloak-js#209
Upgrading
Before upgrading refer to the migration guide for a complete list of changes.
v26.2.3Compare Source
Highlights
This release of Keycloak JS addresses a regression that was introduced in version
26.2.2affecting applications that use hash-based routing in combination with thefragmentresponse mode.Bug Fixes
URL hash fragments are now preserved correctly with 'fragment' response mode
A regression was introduced in version
26.2.2that caused URL fragments with path-style routing (e.g.,#/admin/maintenance/scripts) to be URL-encoded after the OAuth callback, breaking applications that use hash-based routing. This issue affected Angular, React, and other applications that rely on the hash portion of the URL for client-side routing.keycloak/keycloak-js#241
Upgrading
Before upgrading refer to the migration guide for a complete list of changes.
v26.2.2Compare Source
Highlights
This release of Keycloak JS focuses on addressing several regressions that were introduced by accident. We apologize for any inconvenience these issues may have caused and thank our community for reporting them quickly and helping to verify the fixes.
Bug Fixes
Destructuring public methods now works correctly
A regression was introduced that caused an error when destructuring public methods from a Keycloak instance. This pattern is commonly used in applications:
This issue has been resolved by binding all public methods to the class instance using arrow functions, ensuring that
thisis always correctly scoped regardless of how the method is called.keycloak/keycloak-js#202
Hash fragments are now preserved in redirect URIs
A regression caused hash fragments in URLs to be stripped from redirect URIs, which broke navigation in applications that rely on fragment-based routing. For example, when logging in to the Keycloak Admin Console with a URL like
http://localhost:8080/admin/master/console/#/demo/users/add-user, the user would be redirected to the default page instead of the intended fragment after authentication.This also caused issues where redirect URIs would have a trailing slash added unexpectedly, breaking login flows for OIDC servers that perform strict URI matching.
The next major of Keycloak JS will start re-enforcing this constraint, as it is not allowed to pass fragments according to the specification.
keycloak/keycloak-js#151, keycloak/keycloak-js#205
Redirect URLs on different domains now work correctly
A regression prevented redirect URLs from being on a different domain than the application origin the navigation to fail with a security error. This affected users who use redirect services that forward authentication requests from an intermediate domain back to the application.
This behavior is likely to be changed in the future to only allow redirect URLs that are on the same origin as where Keycloak JS is initialized, in order to prevent possible open redirects. If this issue affects you please join the discussion.
keycloak/keycloak-js#189
Upgrading
Before upgrading refer to the migration guide for a complete list of changes.
v26.2.1Compare Source
Highlights
This release of Keycloak JS is the first release after our initial announcement to split it off from the main project release cycle. This release is the result of a large internal refactor to make the code more maintainable and make use of modern JavaScript language features, as well as to introduce a new test suite with more comprehensive test coverage. Even though much has changed under the hood, this is a patch releases, and there should be no breaking changes for users, only bugfixes and small enhancements.
Upgrading
Before upgrading refer to the migration guide for a complete list of changes.
v26.2.0Highlights
Today marks a significant milestone in the evolution of Keycloak JS with the release of version
26.2.0. This new version represents a shift in how the JavaScript adapter develops and evolves alongside the Keycloak ecosystem. Although this new version introduces no functional changes to the adapter, it does include several organizational changes.The most notable change is that Keycloak JS now breaks free from the main Keycloak project’s release cycle. As announced earlier this year, the JavaScript adapter will follow its own independent development path. The separation from the main project allows for more frequent releases of features, bug fixes, and improved responsiveness to community feedback. The JavaScript adapter will continue to be backwards compatible with all actively supported releases of the Keycloak server, and deviation from this will be considered a breaking change.
The choice to use a higher version than the main project itself was made intentionally in order to signal to users the departure from Keycloak’s release cycle. We will however continue to commit to using Semantic Versioning, only bumping major versions if backwards incompatible changes are made, as is customary in the NPM ecosystem. Maintenance updates will continue to land in the
26.1.xseries, as it is tied to the current stable release of the Keycloak server, but we encourage users to upgrade to new versions as needed.Another significant change is the relocation of the codebase to its own dedicated repository. This structural adjustment is not just administrative—it represents a strategic move toward better maintainability. By separating the JavaScript adapter from the main Keycloak repository, the development team gains greater flexibility in managing the codebase and processing community contributions. If you are looking to provide contributions, or are reporting issues, please redirect your efforts here.
Looking ahead, we will be focussing on what is next for Keycloak JS. When it was originally released, only a few OpenID Connect adapters existed for client-side JavaScript, so we needed to make our own adapter. However, this landscape looks very different now, and there are many mature solutions available. The code for Keycloak JS requires modernization and has become challenging to maintain due to the growing complexity. We will continue to evaluate if it makes sense to keep refactoring Keycloak JS, incorporate some mature third-party libraries we can collaborate on, or even replace it with a well-established community solution.
Upgrading
Before upgrading refer to the migration guide for a complete list of changes.
Configuration
📅 Schedule: (in timezone America/Vancouver)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Test Links:
Landing Page
MoreCast
Percentile Calculator
FireCalc
FireCalc bookmark
Auto Spatial Advisory (ASA)
HFI Calculator
SFMS Insights
Fire Watch
Weather Toolkit