Request authorization code (Authorization Code Grant)
documentedRedirect the user to AniList's authorization page to obtain an authorization code.
GET /api/v2/oauth/authorizeOAuthno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://anilist.co/api/v2/oauth/authorize?client_id={{ANILIST_CLIENT_ID}}&redirect_uri={{ANILIST_REDIRECT_URI}}&response_type={{RESPONSE_TYPE}}&state={{STATE}}" \\
-X GET \\
-H "Accept: application/json" \\
-H "Content-Type: application/json"