fi-ware account and oauth solution

13
Securing Access with Oauth2 1 Javier Cerviño Álvaro Alonso

Upload: javier-cervino

Post on 06-May-2015

827 views

Category:

Technology


2 download

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

Securing Access with Oauth2

1

Javier CerviñoÁlvaro Alonso

Page 2: FI-WARE Account and OAuth solution

Identity Manager

2

Page 3: FI-WARE Account and OAuth solution

Identity Manager

3

Account

Page 4: FI-WARE Account and OAuth solution

FI-WARE Account (Identity Manager) Demo

4

Page 5: FI-WARE Account and OAuth solution

OAuth 2.0

5

Page 6: FI-WARE Account and OAuth solution

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

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

OAuth Demo

8

Page 9: FI-WARE Account and OAuth solution

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

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

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

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

http://fi-ppp.eu

http://fi-ware.eu

Follow @Fiware on Twitter !

Thanks !

13