Token Authentication
We’ve just added site-wide token based authentication. You can find your API token in your account page, front and center. Simply pass login and token to any URL which requires…
We’ve just added site-wide token based authentication. You can find your API token in your account page, front and center.
Simply pass login
and token
to any URL which requires authentication.
For example:
curl -F 'repository[name]=API_Hotness' -F 'login=defunkt' -F 'token=6ef8395fecf207165f1a82178ae1b984' http://github.com/repositories
We’ll be enhancing the API soon, but in the meantime you can use this to more easily build tools and automation around GitHub. Enjoy.
Written by
Related posts
Apply now for GitHub Universe 2023 micro-mentoring
As part of our ongoing commitment to accelerate human progress through Social Impact initiatives, we’re offering students 30-minute, 1:1 micro-mentoring sessions with GitHub employees ahead of Universe.
The 2023 Open Source Program Office (OSPO) Survey is live!
Help quantify the state of enterprise open source by taking the 2023 OSPO survey.
Godot 4.0 Release Party 🎉
We are delighted to host the Godot 4.0 Release Party at GitHub HQ on Wednesday, March 22 from 6:30 pm to 9:30 pm. And you’re invited!