Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

github authorization javascript

OAuth.popup('github').then(github => {
    console.log('github:', github);
    // You can use the github object to 
    // perform any HTTP get/post to Github API endpoints
    github.get('/user').then(data => {
      console.log('self data:', data);
    })
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #github #authorization #javascript
ADD COMMENT
Topic
Name
6+2 =