Skip to content
This repository was archived by the owner on Aug 31, 2024. It is now read-only.

Fixed jsonp URLs with token authentication - #13

Merged
fitzgen merged 1 commit into
fitzgen:masterfrom
JangoSteve:auth-token
Jan 3, 2012
Merged

Fixed jsonp URLs with token authentication#13
fitzgen merged 1 commit into
fitzgen:masterfrom
JangoSteve:auth-token

Conversation

@JangoSteve

Copy link
Copy Markdown
Contributor

I was getting 401 Unauthorized responses from the api when trying to use any of the jsonp calls that required authentication.

I checked the v2 docs and they say the api token should be passed as the token variable in the request URL. But github-api was calling it authToken in the URL. So, I changed it and everything worked and unicorns waltzed into my office and danced a merry jig.

fitzgen added a commit that referenced this pull request Jan 3, 2012
Fixed jsonp URLs with token authentication
@fitzgen
fitzgen merged commit 49fdf04 into fitzgen:master Jan 3, 2012
@fitzgen

fitzgen commented Jan 3, 2012

Copy link
Copy Markdown
Owner

Good catch!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants