All work
Entry 02 of 03
Work
OAuth Account Connections
Let a user authorize an app to access a specific part of their account
Read the walkthrough
- Review the requested scope
- Approve read access
- Connect the account
Overview
I connect an app to the provider's consent flow, handle the return to the app, and use the resulting authorization for the requested scope. In this example the user grants permission to read a catalogue.
What it covers
- Provider consent flow
- Permission scopes
- Authorization callbacks
- Connection status
Connect a catalogue account
- Register your app's callback with the provider and choose the read permission needed to access the catalogue.
- Use the provider's OAuth consent flow and finish the authorization at your callback after the user approves that permission.
- Read one catalogue item with the authorized connection and check that declining consent leaves the account disconnected.