2nd chunk of `content/manuals/extensions/extensions-sdk/guides/oauth2-flow.md`
503e4783c1b63f9ad6d439c70bcd57224fd2df512eddf5eb0000000100000362
The image above shows that:
- The Docker extension asks the user to authorize access to their data.
- If the user grants access, the extension then requests an access token from the service provider, passing the access grant from the user and authentication details to identify the client.
- The service provider then validates these details and returns an access token.
- The extension uses the access token to request the user data with the service provider.
### OAuth 2.0 terminology
- Auth URL: The endpoint for the API provider authorization server, to retrieve the auth code.
- Redirect URI: The client application callback URL to redirect to after auth. This must be registered with the API provider.
Once the user enters the username and password, they're successfully authenticated.