Comments (8)
\cc @assaf
from hubot-scripts.
OAuth code, not GitHub API key: http://developer.github.com/v3/oauth/
And you'll need proper scopes: http://developer.github.com/v3/oauth/#scopes
from hubot-scripts.
Is the OAuth code the client ID or secret? Or am I completely confused (likely!) Also, where should I configure the scopes?
from hubot-scripts.
You need to go through step one to get a code, then step two to exchange it for a token. Client ID/secret will be used in those two steps, but are separate thing.
You'll need repo
scope to access any private repository. I don't know if you need any other scope to access public repositories. You can also just get one access token with all scopes and reuse it for other scripts (what I did).
from hubot-scripts.
Should I be going through these steps on the GitHub OAuth page, or using console or something. I'm completely confused. Feel free to give up on me!
from hubot-scripts.
You can get it done using a static HTML page and curl, but it's a very frustrating experience. I asked, maybe Github would build a simple authentication app for Hubot to make it easy.
from hubot-scripts.
We have some branches floating around github that make this easier. Closing until we announce it though.
from hubot-scripts.
Just for other people that need this, you can create an oauth token without and application from this article: https://github.com/blog/977-access-your-event-timelines-and-oauth-tokens-through-the-api
from hubot-scripts.
Related Issues (20)
- Pinboard.coffee script HOT 1
- Connect to Jenkins via CAS HOT 1
- beerme.coffee HOT 1
- how to send data in http Get request HOT 1
- ASCII script is broken HOT 2
- Images not found HOT 3
- Jenkins says: Error: connect EINVAL HOT 1
- News.coffee seems to deprecated
- isup: ERROR SyntaxError: Unexpected end of JSON input HOT 4
- haskell.coffee services is down
- Redis.brain responds differently with local redis server compared to heroku redis cloud. HOT 1
- .
- howdoi.coffee HOT 2
- How do i send default reply to client when confidence is less than 90
- hubot-weather-underground cannot read 'display_location' property
- Nick Presta wrote a duplicate of slothme HOT 1
- Sandbox is escapable
- change points.coffee
- Getting ERROR TypeError: message.replace is not a function on integration hubot-hipchat with jenkins
- Any open script to Hubot and Ansible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-scripts.