惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
V
V2EX
博客园_首页
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
H
Help Net Security
A
About on SuperTechFans
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
云风的 BLOG
云风的 BLOG
D
Docker
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
aimingoo的专栏
aimingoo的专栏
Hacker News: Ask HN
Hacker News: Ask HN
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy International News Feed
T
Troy Hunt's Blog
T
Tenable Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Recorded Future
Recorded Future
F
Fortinet All Blogs
D
DataBreaches.Net
B
Blog
T
Threat Research - Cisco Blogs
MyScale Blog
MyScale Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
The GitHub Blog
The GitHub Blog
Security Latest
Security Latest
M
MIT News - Artificial intelligence

博客园 - Lion

如何使用Solidity和Hardhat构建你自己的NFT以及NFT交易市场 如何将 ERC20 代币在一次交易中发送到多个地址? ROS+LEDE最强上网软路由 Flume1.9.0的安装、部署、简单应用(含分布式、与Hadoop3.1.2、Hbase1.4.9的案例) 通过 Sqoop1.4.7 将 Mysql5.7、Hive2.3.4、Hbase1.4.9 之间的数据导入导出 Hadoop 3.1.2(HA)+Zookeeper3.4.13+Hbase1.4.9(HA)+Hive2.3.4+Spark2.4.0(HA)高可用集群搭建 Centos7 二进制安装 Kubernetes 1.13 - Lion Centos7 使用 kubeadm 安装Kubernetes 1.13.3 - Lion go get获取gitlab私有仓库的代码 Nginx设置Https反向代理,指向Docker Gitlab11.3.9 Https服务 - Lion Docker 创建 Bamboo6.7.1 以及与 Crowd3.3.2 实现 SSO 单点登录 Docker 创建 Crucible4.6.1 以及与 Crowd3.3.2 实现 SSO 单点登录 Truffle 4.0、Geth 1.7.2、TestRPC在私有链上搭建智能合约 Go-Ethereum 1.7.2 结合 Mist 0.9.2 实现众筹合约的实例 Go-Ethereum 1.7.2 结合 Mist 0.9.2 实现代币智能合约的实例 以太坊智能合约 Solidity 的常用数据类型介绍 - Lion 使用 Browser-solidity 在 Go-Ethereum1.7.2 上进行简单的智能合约部署 - Lion 使用 Go-Ethereum 1.7.2搭建以太坊私有链 cAdvisor0.24.1+InfluxDB0.13+Grafana4.0.2搭建Docker1.12.3 Swarm集群性能监控平台
GitLab11.3.9 使用 Crowd3.3.2 的帐号实现 SSO 单点登录,以及GitLab配置腾讯企业邮箱 - Lion
Lion · 2018-12-13 · via 博客园 - Lion

GitLab11.3.9 的安装方法: 点击查看
  Crowd3.3.2 的安装方法:点击查看

需要先在 Crowd 创建应用程序,参考 <Docker 创建 Crowd3.3.2 以及打通 Jira Software7.12.3和Confluence6.12.2 SSO 单点登录> 中的 4.12章节,在 Application type 选择 Generic Application, Description 输入Gitlab ApplicatonName 输入 gitlabPassword 输入 123456,然后点击 Next,其他步骤参考 4.12章节
  gitlab-1

GitLabCrowd 打通需要修改 gitlab.rb
  修改后的内容如下:

external_url 'http://localhost/'
gitlab_rails['initial_root_password'] = File.read('/run/secrets/gitlab_root_password')

gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.exmail.qq.com"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "test@mshk.top"
gitlab_rails['smtp_password'] = "email password"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true
gitlab_rails['gitlab_email_from'] = 'test@mshk.top'
gitlab_rails['smtp_domain'] = "exmail.qq.com"


gitlab_rails['omniauth_enabled'] = true 
gitlab_rails['omniauth_allow_single_sign_on'] = true 
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_providers'] = [
     {
       "name" => "crowd",
       "args" => {
         "crowd_server_url" => "http://crowd.mshk.top/crowd",
         "application_name" => "gitlab",
         "application_password" => "123456"
       }
     }
   ]

crowd_server_url修改成你的 Crowd 地址

修改以后,进行到容器中执行命令进行重置配置,并重启 gitlab 服务:

$ gitlab-ctl reconfigure && gitlab-ctl stop && gitlab-ctl start

重启以后,就可以使用 Crowd 中配置的帐号,进行登录。


博文作者:迦壹
博客地址:GitLab11.3.9 使用 Crowd3.3.2 的帐号实现 SSO 单点登录,以及GitLab配置腾讯企业邮箱
转载声明:可以转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明,谢谢合作!

比特币地址:1KdgydfKMcFVpicj5w4vyn3T88dwjBst6Y
以太坊地址:0xbB0a92d634D7b9Ac69079ed0e521CC2e0a97c420