夜莺-Nightingale
夜莺V7
项目介绍 功能概览
部署升级 部署升级
数据接入 数据接入
告警管理 告警管理
数据查看 数据查看
功能介绍 功能介绍
API FAQ
夜莺V6
项目介绍 架构介绍
快速开始 快速开始
黄埔营
安装部署 安装部署
升级
采集器 采集器
使用手册 使用手册
API API
数据库表结构 数据库表结构
FAQ FAQ
开源生态
Prometheus
版权声明
第1章:天降奇兵 第1章:天降奇兵
第2章:探索PromQL 第2章:探索PromQL
第3章:Prometheus告警处理 第3章:Prometheus告警处理
第4章:Exporter详解 第4章:Exporter详解
第5章:数据与可视化 第5章:数据与可视化
第6章:集群与高可用 第6章:集群与高可用
第7章:Prometheus服务发现 第7章:Prometheus服务发现
第8章:监控Kubernetes 第8章:监控Kubernetes
第9章:Prometheus Operator 第9章:Prometheus Operator
参考资料

Configuration Example Explanation

# Whether to enable CAS login functionality. Options: true/false
Enable = true
# Display name for CAS login method in the frontend
DisplayName = 'CAS Login'
# Redirect URL after successful CAS authentication. This URL should be the callback address of the Nightingale monitoring service
RedirectURL = 'http://n9e-server:port/callback/cas'
# Address of the SSO service CAS
SsoAddr = 'https://n9e-auth2.authing.cn/cas-idp/6698b30fc9e781e51dc0f509'
# Logout address of the SSO service CAS, used for handling user logout requests
SsoLogoutAddr = 'https://n9e-auth2.authing.cn/cas-idp/6698b30fc9e781e51dc0f509/logout'
# Login path for SSO service CAS; combined with SsoAddr to form the complete login address
LoginPath = '/login'
# Whether to override user attributes. Options: true/false
CoverAttributes = true
# Default roles for users in the Nightingale system. Options: Guest/Standard/Admin
DefaultRoles = ['Standard']
# Requested CAS scopes
Scopes = ['openid', 'profile', 'email', 'phone']

# Mapping of CAS user attributes to Nightingale user attributes
[Attributes]
# Mapping for username field
Username = 'sub'
# Mapping for nickname field
Nickname = 'nickname'
# Mapping for phone field
Phone = 'phone_number'
# Mapping for email field
Email = 'email'

Basic Configuration Explanation

Below is an explanation of the Authing CAS configuration:

RedirectURL is defaulted to ‘http://n9e-server:port/callback/cas’

Authing-cas

Nightingale Configuration OIDC Configuration
SsoAddr Login endpoint, excluding /login. /login is written in the LoginPath parameter
SsoLogoutAddr Logout endpoint
LoginPath Combined with SsoAddr to form the complete login address

Account Login

caslogin-01

caslogin-02

Account Logout

Similar to OIDC, direct CAS account logout from the Nightingale server side is currently not supported. If account logout is needed, you need to first log out from the CAS service side, then return to the Nightingale service page and select account logout.

快猫星云 联系方式 快猫星云 联系方式
快猫星云 联系方式
快猫星云 联系方式
快猫星云 联系方式
快猫星云
OpenSource
开源版
Flashcat
Flashcat