fi-ware account and oauth solution
DESCRIPTION
Introduction to FI-WARE Identity Manager. You'll see the OAuth-based solution proposed by FI-WARE to access user's resources in a secured way.TRANSCRIPT
![Page 1: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/1.jpg)
Securing Access with Oauth2
1
Javier CerviñoÁlvaro Alonso
![Page 2: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/2.jpg)
Identity Manager
2
![Page 3: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/3.jpg)
Identity Manager
3
Account
![Page 4: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/4.jpg)
FI-WARE Account (Identity Manager) Demo
4
![Page 5: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/5.jpg)
OAuth 2.0
5
![Page 6: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/6.jpg)
OAuth Message Flow
6
Web App Account
redirect
request access-token
access-token
access-code
OA
uth
Lib
rary
Request user info using access-token
![Page 7: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/7.jpg)
OAuth Libraries
http://oauth.net/2/
• PHP, Cocoa, iOS, Java, Ruby, Javascript, Python.
Example using Node.js
• https://github.com/ging/oauth2-example-client
7
![Page 8: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/8.jpg)
OAuth Demo
8
![Page 9: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/9.jpg)
Web Applications and GEs
9
Generic Enabler
Account
Request
+acc
ess
-toke
n
redirect
access-code
request access-token
access-token
access-token + path
OK + user info
Web AppO
Auth
Lib
rary
![Page 10: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/10.jpg)
Web Applications and GEs
GET https://GE_URL HTTP/1.1
Host: GE_hostname
X-Auth-Token: access_token
10
![Page 11: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/11.jpg)
AA for free!
11
Back-end Apps
Account
Request
+acc
ess
-toke
n
Web App
Oauth
Lib
rary
Proxy
redirect
access-code
request access-token
access-token
access-token + path
OK + user info
![Page 12: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/12.jpg)
Links
Slides:
• http://tinyurl.com/ws2-fiware
FI-LAB Account:
• Source Code: https://github.com/ging/fi-ware-idm
• Documentation: https://github.com/ging/fi-ware-idm/wiki
FI-LAB OAuth Demo:
• https://github.com/ging/oauth2-example-client
FI-LAB Proxy:
• https://github.com/ging/fi-ware-pep-proxy
12
![Page 13: FI-WARE Account and OAuth solution](https://reader035.vdocument.in/reader035/viewer/2022070313/554a26a7b4c90542548b4b8e/html5/thumbnails/13.jpg)
http://fi-ppp.eu
http://fi-ware.eu
Follow @Fiware on Twitter !
Thanks !
13