Overview
The authorization flow starts when your agent needs permissions from a user (principal). You create an authorization request, redirect the user to the consent URL, and receive a callback with an authorization code.
Parameters
Response
With PKCE
Next Steps
After the user approves the consent, exchange the authorization code for a grant token using tokens.Exchange().Last modified on July 11, 2026