当前位置: 首页 > news >正文

111. Azure AD 客户端秘密到期导致 Rancher 登录失败

Environment 环境

SUSE Rancher Manager 2.x integrated with Azure AD as Identity Provider (IDP)
SUSE Rancher Manager 2.x 集成于 Azure AD as Identity Provider (IDP)

Situation 地理位置

Users are unable to log in to the Rancher portal using their Azure AD accounts. The authentication fails with an error:
用户无法通过 Azure AD 账户登录 Rancher 门户。认证失败时会出现错误:

An error occurred logging in Server error while authenticating

The initial attempt to delete the azuread-access-token secret from the cattle-global-data namespace did not resolve the login issue. Additionally, the secret was not automatically regenerated, resulting in persistent Rancher warnings about the missing secret.
最初尝试从 cattle-global-data 命名空间删除 azuread-access-token 秘密时,登录问题未能解决。此外,秘密不会自动恢复,导致牧场主持续警告缺失秘密。

Resolution 结局

It was observed that the Application Secret (client secret) for the Rancher app registered in Azure AD had expired. This caused Rancher’s authentication with Azure AD to fail.
观察到在 Azure AD 注册的 Rancher 应用的应用秘密(客户端秘密)已过期。这导致 Rancher 与 Azure AD 的认证失败。

To resolve the issue: 为了解决这个问题:

  • Generate a new Application Secret for the Rancher app in Azure AD.
    在 Azure AD 中为 Rancher 应用生成一个新的应用秘密。
  • In Rancher, update the new secret:
    在 Rancher 中,更新新的秘密:
  • Go to Rancher UI → Users & Authentication → Auth Provider → Azure AD → Application Secret
    前往 Rancher UI → 用户与认证 → Provider → Azure AD → Application Secret
  • Enter the new Application Secret.
    这时,新的应用秘诀出现了。
  • Save the configuration. 保存配置。

The secret azuread-access-token in the cattle-global-data namespace got recreated automatically and the login started working again.
cattle-global-data 命名空间中的秘密 azuread-access-token 自动被重新创建,登录也恢复正常。

Cause 病因

The login failure occurred because the Azure AD Application Secret used by Rancher had expired. Rancher requires a valid client secret to communicate with Azure AD.
登录失败是因为 Rancher 使用的 Azure AD 应用秘密已过期。Rancher 需要有效的客户端秘密才能与 Azure AD 通信。

访问Rancher-K8S解决方案博主,企业合作伙伴 :
https://blog.csdn.net/lidw2009

http://www.jsqmd.com/news/577443/

相关文章:

  • GitHub中文界面插件实战:深度解析智能翻译引擎与进阶定制方案
  • ESP32-S3 驱动 OV2640 摄像头:从嘉立创例程到AP模式无线图传
  • 同学花200降AI我花50就搞定了差在哪
  • csp预习day1
  • 离散系统稳定性分析的实用方法与工程应用
  • 112. Rancher v2.x Windows 日志收集脚本
  • 本土化突围:Gitee如何重新定义企业级项目管理工具价值
  • 3个维度解锁SillyTavern:打造专属AI对话体验的全攻略
  • HarmonyOS 5.0实战:基于Promise与拦截器构建企业级网络请求库
  • PX4开发环境一站式配置:源码、QGroundControl、MAVROS与ROS Melodic联调全记录
  • 用“目标→策略→动作→标准”四步法,把挂在墙上的目标,变成落在地上的结果
  • ESP32远程OTA升级踩坑实录:HTTPS证书处理、固件链接失效与阿里云配置的那些‘坑’(附避坑代码)
  • 115. OOM(内存不足),高内存消耗,基本故障排除步骤
  • 5大核心功能解析:GHelper轻量替代方案如何优化华硕笔记本性能
  • Mac上IntelliJ IDEA 2024.1.1启动报错?手把手教你删除-javaagent修复(附详细路径)
  • 知网AIGC检测算法2026年更新了什么这样降AI才有效
  • 收藏备用!小白程序员必看:从基础到进阶,彻底吃透Prompt与提示工程
  • Debian 12.0 + Nginx + Let’s Encrypt:5分钟搞定HTTPS配置(含自动续期)
  • 给技术人的另类书单:从《纳瓦尔宝典》的‘代码杠杆’谈到工程师的财富与幸福实践
  • 全球与中国边缘保护系统市场现状洞察与未来走向研判
  • 46397
  • 离线应急方案:OpenClaw断开网络时调用本地Qwen3-4B继续工作
  • 【电路】从零开始掌握大学电路核心定律与分析方法
  • 茉莉花插件:5分钟快速上手Zotero中文文献智能管理终极指南
  • 跨平台性能监控实战:从本地到服务器的全面指南
  • RTX 4090专属优化:造相-Z-Image防爆显存+BF16高精度实战解析
  • 【嵌入式实战】环形缓冲区在数据流处理中的核心应用与避坑指南
  • 保姆级教程:在Windows 10/11上搞定Carsim 2019.0安装与破解(含防火墙关闭和许可文件配置)
  • SEO优化教程网推广技巧有哪些
  • Windows 11 24H2 LTSC 微软商店部署指南:从原理到实践