1 Star 0 Fork 0

半兽人.Orcs / alerta-cas-oauth2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

alerta

add to /etc/alertad.conf

	AUTH_PROVIDER = 'cas'
	AUTH_REQUIRED = True

	OAUTH2_CLIENT_ID = 'client_id'
	OAUTH2_CLIENT_SECRET = 'client_secret'
	CAS_URL = 'https://cas_url'
	ALLOWED_CAS_GROUPS = ['*']

alerta-webui

add to js/auth.js

	$authProvider.oauth2({
	  name: 'cas',
	  url: config.endpoint + '/auth/cas',
	  redirectUri: window.location.origin,
	  clientId: config.client_id,
	  requiredUrlParams: [],
	  authorizationEndpoint: config.cas_url + '/cas/oauth2.0/authorize'
	});

空文件

简介

alerta cas OAuth2 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/orcswang/alerta-cas-oauth2.git
git@gitee.com:orcswang/alerta-cas-oauth2.git
orcswang
alerta-cas-oauth2
alerta-cas-oauth2
master

搜索帮助