githuboauth
v0.0.5 oauth github
githuboauth
github oauth directive. Work in progress
usage
In your html code:
<githuboauth clientId='b5926508f327fb8bd01b'
oauthProxy='//ghoauth.herokuapp.com/authenticate/[code]'>
</githuboauth>
See demo for end to end example.
Unfortunatly GitHub does not provide a way to authenticate securily via client side only. This means the directive requires to have oauth proxy to trade your app's client secret for an access token.
Fear not, seting up oauth proxy is pretty straigtforward. Please check instructions for anvaka/gatepicker.
install
With npm do:
npm install githuboauth
license
MIT