mattn/gist-vim — pull request #100 by netj (2012-07-08 12:25:38+00:00)
Title: Use password once to get OAuth token, and forget

Github provides a simple way to create an OAuth token using Basic Auth:
http://developer.github.com/v3/oauth/#create-a-new-authorization

This enables Gist.vim to ask users' password once on first use, and
store only the obtained token for later. User can easily revoke the
token and create a new one at anytime, so this is much more secure.
Forcing them to create their own Github application and exchanging
client ID and secrets is totally a nonsense given this simple way to get
the same token. :)