oauth v2.0 demo
TRANSCRIPT
![Page 1: OAuth v2.0 demo](https://reader036.vdocument.in/reader036/viewer/2022083106/5871d1a21a28ab423c8b5c41/html5/thumbnails/1.jpg)
Typical OAuth 2.0 Use CaseDemonstration by Santanu Dey
![Page 2: OAuth v2.0 demo](https://reader036.vdocument.in/reader036/viewer/2022083106/5871d1a21a28ab423c8b5c41/html5/thumbnails/2.jpg)
3 Legged OAuth
Developer-App
End-User (resource owner)
OAuth Provider
1. Developer Registers & Obtains application credentials to be used by the App.
2. Interacts with the App & intends to use resources from a third-party, OAuth-Provider
3. Application redirects the user to the OAuth Provider site
![Page 3: OAuth v2.0 demo](https://reader036.vdocument.in/reader036/viewer/2022083106/5871d1a21a28ab423c8b5c41/html5/thumbnails/3.jpg)
3 Legged OAuth
Developer-App
End-User (resource owner)
OAuth Provider
6. Application exchange Auth code for Access token
5. Auth Code is generated and returned to the App via a redirect
4. User completes authentication & provides consent with a defined scope
![Page 4: OAuth v2.0 demo](https://reader036.vdocument.in/reader036/viewer/2022083106/5871d1a21a28ab423c8b5c41/html5/thumbnails/4.jpg)
3 Legged OAuth
Developer-App
End-User (resource owner)
OAuth Provider
7. Access end-user resources within the scope defined by the consent using Access Token
8. Renew the access token without requiring user consent again using a Refresh Token
9. View, manage, revoke consent
From the access token Oauth Provider can resolve the user and return user specific resources.In the demo we will return Movie Recommendation
![Page 5: OAuth v2.0 demo](https://reader036.vdocument.in/reader036/viewer/2022083106/5871d1a21a28ab423c8b5c41/html5/thumbnails/5.jpg)
Demo Set-up
Developer-App
End-User (resource owner)
OAuth Provider