Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Node.js でサクッと作る Azure AD 連携アプリ! ~ 挑戦編

3,263 views

Published on

「Comm Tech Festival - こみゅぷらす (COMU+)」の登壇資料です。
https://comuplus.doorkeeper.jp/events/30403

「Node.js でサクッと作れるAzure AD社内アプリ!〜挑戦編」
大平 かづみ (Windows女子部 team Cloud)

Published in: Technology
  • DOWNLOAD TH1S BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK Here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB EBOOK Here { https://soo.gd/qURD } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK Here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB EBOOK Here { https://soo.gd/qURD } ......................................................................................................................... Download doc EBOOK Here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Node.js でサクッと作る Azure AD 連携アプリ! ~ 挑戦編

  1. 1. Node.js アプリケーションで Azure AD のシングルサインオン
  2. 2. Self Introduction
  3. 3.  現職: アイレット株式会社 cloudpack事業部  クラウドインテグレーターのなかのプログラマ  過去の経歴  SIer でガラケーやカーナビのミドルウェア開発 (C/C++)  Web系開発 (Ruby on Rails, Phalcon PHP Framework)  お世話になっているコミュニティ  Windows女子部 チームクラウド  SoftLayer / Bluemix 女子会  Japan AWS User Group (JAWSUG)  qpstudy 、DevLOVE 、PHP界隈 など Twitter: dz_ Facebook: dzeyelid Qiita: dz_
  4. 4. はじめに
  5. 5. The beginning
  6. 6.  アプリケーションに、欠かせないのがID管理  とはいえ、ID管理や認証処理は意外と大変!  ID管理をより簡単に安全にできないかしら?
  7. 7. Speaking of identity management
  8. 8. Active Directory?
  9. 9. Active Directory? イタリアン・神 引用元: Episode 86 - Windows Azure Active Directory with Vittorio Bertocci - Microsoft Azure Cloud Cover Show - Channel 9
  10. 10. Active Directory? ジャパニーズ・神 引用元:ビル・ゲイツ絶賛!Microsoft澤円氏の「結果を出すビジネス会話」6つの極意 - リクナビNEXTジャーナル
  11. 11. 失礼いたしました。
  12. 12. そもそも、プログラマが Active Directory を 構築したり、AD FS 連携したりすること自体 が難関です… AD FSDirectory アプリケーション連携させる には、AD のほかに、 AD FS (フェデレーションサービス) が必要
  13. 13. Choice of IDaaS
  14. 14.  Identity as a Service の略  サービスとしてID管理を提供すること  主にID情報の管理や、認証機構の提供を行う
  15. 15. IDaaS といえば、 Azure Active Directory
  16. 16.  クラウドベースのフルマーネジドなID管理  多くに対応したシングルサインオン  業界標準のプロトコルをサポート  多くのプラットフォームと連携可能  オンプレミスの Active Directory との同期
  17. 17.  サポートしているプロトコル  SAML 2.0、WS-Federation、OpenID Connect など  オープン ソースのクライアント ライブラリ  .NET、Windows ストア、iOS、Android向け  RESTベースの Graph API  OAuth 2.0 サポート
  18. 18. Let’s try to make application
  19. 19. Azure AD が簡単便利なら、アプリケーションの開発 も簡単便利に作りたいね!
  20. 20. PaaS を使おう!
  21. 21. PaaS といえば、 IBM Bluemix (WebApps じゃなくてごめんなさい! 完全に個人都合ですw)
  22. 22. だって青いクラウドつなげたいじゃないですかっ! (完全に個人都合)
  23. 23. That didn't discourage
  24. 24.  実行環境: IBM Bluemix  言語: Node.js  Node.jsモジュール: passport, passport-azure-ad
  25. 25. Passport is authentication middleware for Node.js
  26. 26. Node.js で認証機能を実装するときに重宝するミドル ウェア。 Expressというウェブアプリケーションフレームワー クと相性が良い。 Passportは、Strategy という単位で様々な対象に対す る認証機能が提供されている。Facebook や Twitter な どの SNS の認証や、OpenID などプロトコルの認証な ど。
  27. 27. Use Azure AD on Passport
  28. 28. Passport で Azure AD のシングルサインオンを利用で きるミドルウェア! サンプルコードも提供されているので、着手しやす い。
  29. 29. 私のシルバーウィークは この子との壮絶な戦いに明け暮れる日々でしたw
  30. 30. Invisible traps
  31. 31. サインインから抜け出せない罠 アクセストークンが取得できない罠 サインイン成功してるのに、ログインできない罠
  32. 32. Invisible traps
  33. 33. サインインから抜け出せない罠 → マルチテナントを設定しよう!
  34. 34. アクセストークンが取得できない罠 → Microsoftアカウントを使ってサインイン しようとした場合に発生する。 共通のエンドポイントでなく、ディレクト リ(テナント)固有のエンドポイントを指 定する。
  35. 35. サインイン成功してるのに、ログインできない罠 → https のアプリケーションの場合は、セッ ションクッキーの設定を有効にし、 https で もデータが保持されるようにする。
  36. 36. Check! Node.js で Azure AD を! ~ passport-azure-ad の導入とトラブルシューティング
  37. 37. Next Challenge?
  38. 38. Azure AD B2C Preview を試したい!
  39. 39. Thanks a lot !
  40. 40. 謝辞 Microsoft 系アイコンは、福岡の松本 さんが作られたベクター形式のアイ コンセットを拝借いたしました! 便利です!ありがとうございます! Microsoft系のアイコン(Microsoft CloudnEnterprise Symbols)をベクター 形式にしてみた話。 | nrjlog
  41. 41. 謝辞 作業を進めるうえで困ったときにア ドバイスを下さった、デプロイ王子、 こと廣瀬さん ありがとうございます!
  42. 42. 謝辞 今日、この素晴らしい機会をくだ さった、Windows女子部3代目部長の 木下未来さん ありがとうございます!!
  43. 43. 最後までお付き合いくださった会場の皆さま、 ありがとうございました!

×