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.

Keyrock - Lesson 3. Applications. How to create OAuth2 tokens.

1,076 views

Published on

FIWARE Academy Courses
Identity Management - Keyrock GE
Lesson 3. Applications. How to create OAuth2 tokens.

https://edu.fiware.org/course/view.php?id=79

Álvaro Alonso
UPM-DIT. Security Chapter

FIWARE Academy
https://edu.fiware.org

http://fiware.org

Published in: Engineering
  • It is still unclear for me how to generate tokens. I am trying to integrate Orion, Keyrock and Wilma local instances, but the documentation, unfortunately, is not helping. Is there a "how-to" for this?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Keyrock - Lesson 3. Applications. How to create OAuth2 tokens.

  1. 1. Identity Management - Keyrock GE Lesson 3. Applications. How to create OAuth2 tokens. Álvaro Alonso. UPM – DIT Security Chapter. FIWARE aalonsog@dit.upm.es, @larsonalonso
  2. 2. Contents 1. Registering an Application 2. Node.js web application example
  3. 3. Main concepts. OAuth2 3
  4. 4. Main concepts. OAuth2 4 Account
  5. 5. Main concepts. OAuth2 5
  6. 6. Main concepts. OAuth2 Login with
  7. 7. Main concepts. OAuth2 7 Web App Keyrock redirect request access-token access-token access-code OAuthLibrary Request user info using access-token
  8. 8. Main concepts. OAuth2 and GEs 8 Generic Enabler Keyrock Request+ access-token Oauth2 flows access-token OK + user info (roles) Web App OAuthLibrary access_token
  9. 9. Main concepts. OAuth2 and GEs GET https://GE_URL HTTP/1.1 Host: GE_hostname X-Auth-Token: access_token 9 • Calls to other GEs • Also for integration with Wilma PEP Proxy GE – For securing your REST APIs
  10. 10. Documentation • Keyrock userguide – http://fiware-idm.readthedocs.io/en/latest/user_guide.html • How to create OAuth2 tokens – http://fiware-idm.readthedocs.io/en/latest/oauth2.html • OAuth2 spec – http://oauth.net/2/
  11. 11. Identity Management - Keyrock GE Lesson 3. Applications. How to create OAuth2 tokens. Álvaro Alonso. UPM – DIT Security Chapter. FIWARE aalonsog@dit.upm.es, @larsonalonso

×