5.7. 迁移节点 JS
要将使用 Red Hat Single Sign-On 7.6 适配器保护的应用程序迁移到红帽构建的 Keycloak 26.4,以使用适配器的 26.1.1 版本。
流程
- 删除之前版本的 Node.js 适配器。
使用这些 NPM 命令安装 Node.js 适配器的 26.1.1 版本:
npm config set @redhat:registry https://npm.registry.redhat.com npm install @redhat/keycloak-connect@latest
npm config set @redhat:registry https://npm.registry.redhat.com npm install @redhat/keycloak-connect@latestCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
在应用程序的
package.json中更改 keycloak-connect 的依赖项。