cURL
curl --request POST \ --url http://localhost:3000/api/v1/git/providers/github/token \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "code": "<string>" } '
{ "success": true, "data": { "authenticated": true } }
Exchange authorization code for GitHub access token
Session cookie authentication
Authorization code from GitHub
Token obtained
Show child attributes