+ All Categories
Home > Documents > Building(a(Server(Appliance(with(Node.js(...

Building(a(Server(Appliance(with(Node.js(...

Date post: 01-Feb-2018
Category:
Upload: lamdat
View: 228 times
Download: 2 times
Share this document with a friend
21
Building a Server Appliance with Node.js Auth0 Eugenio Pace – [email protected] @authzero @eugenio_pace
Transcript
Page 1: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Building  a  Server  Appliance  with  Node.js    

Auth0  

Eugenio  Pace  –  [email protected]    @authzero      @eugenio_pace  

Page 2: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Apps Authentication System

Page 3: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

OAuth  1,  2  OpenId  Connect  SAML  2.0  WS-­‐FederaEon  WS-­‐Trust    SAML  JWT  SWT    

Page 4: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js
Page 5: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

SSO Directory Log Audit

Page 6: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

SSO Directory Log Audit

Setup SDK Run Anywhere

Page 7: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Demo!

7  

Page 8: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

VM  (Linux  /  Windows)  

VM Host / HW Public Cloud Hosting

Authorization Server

node.js

Control Panel

Serv

ice

Man

agem

ent

API Docs

Mongo

Page 9: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Authorization Server

node.js

Control Panel API Docs

hPp://upstart.ubuntu.com/    

Page 10: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js
Page 11: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Considering…

•  forever  à    hPps://github.com/nodejitsu/forever    

11  

Page 12: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Authorization Server

node.js

Control Panel API Docs

nginx

hPps://app.myauth0.com  

localhost:9000   localhost:5000  

Page 13: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js
Page 14: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Authorization Server

node.js

nginx

hPps://ad.myauth0.com  

Apache AD  

Page 15: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Considering…

• node-­‐hPp-­‐proxy      à  hPps://github.com/nodejitsu/node-­‐hPp-­‐proxy    • haproxy    

15  

Page 16: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Ge@ng  the  bits

1.  sudo  apt-­‐get  install  puppetmaster  

2.  wget  https://builds.auth0.com/{build}  

3.  sudo  puppet  apply  -­‐-­‐modulepath=modules  -­‐e  "include  run”  

4.  MyAuth0!    

Page 17: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

1. Generally  well  documented  2. Good  support  hPps://puppetlabs.com/    

3. Minimize  content  in  you  package  4. Leverage  install  tools  (apt,  npm)      

Page 18: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Considering…

•  chef  à  hPp://www.opscode.com/chef/  

18  

Page 19: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js
Page 20: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

On  node

• TransacEons  • Malleability  • No  wheel  reinvenEng  

• Service  and  Server  • Any  cloud  

20  

Page 21: Building(a(Server(Appliance(with(Node.js( Auth0&seanode.github.io/assets/slides/pace-building-appliance-nodejs.pdf · Building(a(Server(Appliance(with(Node.js((Auth0& ... node.js

Thanks! [email protected]    

21  


Recommended