Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting Status: 403 Forbidden when checking my github scopes
    primarykey
    data
    text
    <p>So I'm running through the github oauth api and I'm having some issues getting my client_id to authenticate. </p> <p>When I pass my client_id manually through a URL like so:</p> <pre><code>&lt;a href="https://github.com/login/oauth/authorize client_id=clientidhere"&gt; </code></pre> <p>I get a 404 not found from github. A quick search and I'm told that the issue is one of two things: you’re either not authenticating correctly, or your scopes aren't valid.</p> <p>So I run the authentication command once again:</p> <pre><code>curl -i -u myun https://api.github.com/users/myun </code></pre> <p>And then check my scopes:</p> <pre><code>curl -H "Authorization: bearer mytoken" https://api.github.com/users/myun -I </code></pre> <p>From there I'm still getting 401 not authorized. Full output:</p> <pre><code>HTTP/1.1 403 Forbidden Server: GitHub.com Date: Fri, 26 Jul 2013 03:14:13 GMT Content-Type: application/json; charset=utf-8 Status: 403 Forbidden X-GitHub-Media-Type: github.beta Content-Length: 61 Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X- RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes Access-Control-Allow-Origin: * </code></pre> <p>Any insight on this issue is appreciated.</p> <p><strong>EDIT:</strong> After running <code>curl -i -u myun https://api.github.com/users/myun</code> once again and then rechecking the scope I get a status of <code>Status: 200 OK</code>...however. When I try the link again I still get 404 not found from github. </p> <p>So now that I've exhausted both of github's suggestions[1] on why I'm receiving the 404 where do I go? I'm almost certain it's not an issue with the api.</p> <ol> <li><a href="http://developer.github.com/v3/troubleshooting/#why-am-i-getting-a-404-error-on-a-repository-that-exists" rel="nofollow">http://developer.github.com/v3/troubleshooting/#why-am-i-getting-a-404-error-on-a-repository-that-exists</a> </li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload