Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Slack Enterprise Grid with multiple IdP
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Isobe Kazuhiko
May 10, 2018
Technology
52
0
Share
Slack Enterprise Grid with multiple IdP
Isobe Kazuhiko
May 10, 2018
More Decks by Isobe Kazuhiko
See All by Isobe Kazuhiko
今こそ遊ぼうパンデミック
muramasa64
0
32
My Keyboard Situation
muramasa64
0
28
cloudpackを支える認証技術
muramasa64
0
49
AWS Account Numberを取得するN個の方法
muramasa64
0
33
実践VPC
muramasa64
0
39
AWS Identity and Access Management
muramasa64
0
30
Introduction to AWS SDK for Ruby
muramasa64
0
36
Amazon VPCでVPN
muramasa64
0
46
Other Decks in Technology
See All in Technology
Class.new is all you need
riseshia
1
190
目的ファーストのハーネス設計 ~ハーネスの変更容易性を高めるための優先順位~
gotalab555
8
2.5k
AIコーディング時代における、ソフトウェアサプライチェーン攻撃に対する防衛術(簡易版)
soysoysoyb
0
160
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
210
AI時代のガードレールとしてのAPIガバナンス
nagix
0
310
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
260
需要創出(Chatwork)×供給(BPaaS) フライホイールとMoat 実行能力の最適配置とAI戦略
kubell_hr
0
1k
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
170
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
0
1.2k
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
610
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
120
Google Cloud Next '26 の裏でこっそりリリースされたCloud Number Registry & Cloud Hub コスト分析 を試してみた
hikaru1001
0
110
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
260
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
WENDY [Excerpt]
tessaabrams
10
37k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
330
Designing for humans not robots
tammielis
254
26k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Color Theory Basics | Prateek | Gurzu
gurzu
0
300
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
810
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
Transcript
Slack Enterprise Grid with multiple IdP Slack Enterprise Grid with
multiple IdP ISOBE Kazuhiko CloudNative Inc. 第14回セキュリティ共有勉強会 2018-05-10
自己紹介 ISOBE Kazuhiko CloudNative Inc. 所属 Twitter: muramasa64 最近は認証関連を中心にやってます
今日のお題 Slack Enterprise Gridに対する認証 みんな大好きSlackのEnterprise版 企業内の色々な組織ごとにワークスペースが使える ワークスペース間でチャンネルを好きなだけ共有でき る 長いので、この資料ではGridと省略します。
Gridの導入要件 SAMLを使ったシングルサインオンが必須
SAMLとは何か? 知っている人✋
SAMLとは(ざっくりな説明) シングルサインオンを実現するためのプロトコル 認証はIdPで行う IdP: Identity Provider SPは認証結果だけ受け取る SP: Service Provider
認証は一回だけで複数のSPにサインインできる
SAMLのシーケンス図
SAML使ってますか? 使っている人✋
SAML便利ですよね ということでGridはSAML必須です
Gridを導入したい! グループ会社がいくつかある企業の例 それぞれSlackを利用中 Gridを使うと会社間連携ができて嬉しい
しかし、ここで立ちふさがる問題 Gridの認証に使えるIdPは1つだけ
Gridの認証に使えるIdPは1つだけ 一般的には、会社ごとにIdPを持っている 子会社やグループ会社は別組織 複数会社間ではGridは使えない? この制限で諦めてしまった会社は実在するらしい
何かが仲介すればいいのでは? Proxy? Delegate? Broker?
ということで Keycloakを使って実現してみました
Keycloakとは "Identity and Access Management solution" Red Hatが中心となって開発している Apache License
2.0 https://www.keycloak.org
Keycloakでできること Single-Sign On SAML, OpenID Connect, OAuth2.0, Kerberosに対 応 User
Federation LDAPやActive Directory、RDBMSと連携する Identity Brokering 外部のIdPとの連携 いわゆるSocial Loginに対応
Identity Brokering ID仲介 GoogleとかTwitter, FacebookのIDを使ってア プリにサインインできるようにするやつ SAMLも対応している この機能を使うことで、Gridに対して複数のIdP による認証を仲介する
連携設定1 GridとKeycloak Gridに対してKeycloakからSAMLでサインインでき るように連携する KeycloakにClientとしてGridを登録する この時点で、Keycloakに作成したローカルアカウントで Gridにサインインできるようになる
連携設定2 Keycloakと外部IdP Identity Providerとして各会社のIdPを登録する Keycloakは、複数のIdPに対応している ID/Passwordを入力するのではなく、IdPに対応した ボタンを押す 認証は各IdPで行いSAMLでサインインする
連携設定3 IdP Link Keycloakのユーザーと外部IdPで認証したユーザ ーのリンクを設定する Emailアドレス、ユーザーIDなど、ユニークなこ とが保証できる値を使う
DEMO 時間があればデモします
結論 Gridに複数IdPを使ってサインインできた これはGridに限らず他のサービスでも応用可能 OSSなIdPとしてKeycloakは使いやすい 今日紹介したのは機能のほんの一部 Keycloak便利 SSOしたい人は使ってみよう