Completed
Writing a small script to prepare for and make the HTTP request for the token
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Getting Started with OAuth 2.0
Automatically move to the next video in the Classroom when playback concludes
- 1 Welcome and introduction
- 2 Understanding OAuth 2.0 grant types
- 3 Navigating to the endpoint on the SAP API Business Hub
- 4 Thinking about the scope required for the given endpoint
- 5 Exploring the documentation that we need to read
- 6 Looking at the service plans for the cis service, and what scopes they include
- 7 Logging in to the Cloud Foundry environment with the cf CLI
- 8 Learning how to find the API endpoint for cf programatically
- 9 Exploring the Cloud Foundry marketplace, looking for the cis service & plans
- 10 Creating a cis service instance with the central plan
- 11 Creating a service key binding from that instance and taking a first look at the data
- 12 Looking at the HTTP request and the data that we need to request a token
- 13 Writing a small script to prepare for and make the HTTP request for the token
- 14 Noting that we need to urlencode the form data
- 15 Making the call and successfully obtaining a token
- 16 Examining the token and related details that are returned type, expiry info, refresh token, scopes, etc
- 17 Getting ready to make the call to the endpoint
- 18 Making the call, and realising it was waiting for input on STDIN
- 19 Examining the successful output
- 20 Thinking about the token's lifetime
- 21 Examining the content of the otherwise opaque access token with jwt-cli