githuboauth

0.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i githuboauth

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • anvaka