zoukankan      html  css  js  c++  java
  • 使用gitlab 对grafana用户做认证

     登录gitlab服务页面创建应用AK

    修改grafana的配置文件  grafana.ini 

    #################################### GitLab Auth #########################
    [auth.gitlab]
    enabled = true
    allow_sign_up = true
    client_id = ab69a5a4a95c6dd425fe9021e241fd23b5542ed361cda7543c1359fe3368e21f
    client_secret = 02c2d534fbb3eb64d3c97350a61cc8c5938904bf1268e380983e56f1c89ed99b
    scopes = api
    auth_url = https://git.wp.info/oauth/authorize   #  
    token_url = https://git.wp.info/oauth/token
    api_url = https://git.wp.info.com/api/v4
    ;allowed_domains =
    ;allowed_groups =

     重新启动grafana-server服务,登录页面中出现调转到gitlab做认证的按钮

  • 相关阅读:
    双线性过滤
    textureView
    cubemap
    selfshadow
    cbuffer padding
    异常
    Python深浅拷贝
    数据类型分类
    集合类型内置方法
    字典数据类型内置方法
  • 原文地址:https://www.cnblogs.com/gavin11/p/14377960.html
Copyright © 2011-2022 走看看