Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8704889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:13:27+00:00 2026-06-13T03:13:27+00:00

My application uses Github’s Oauth . Suppose that: in version 1, the app required

  • 0

My application uses Github’s Oauth.
Suppose that:

  • in version 1, the app required only basic authorization (scopes = [])
  • in version 2, the app required R/W access to public repos (scope = [‘public_repo’])

Some users have not logged in yet since the upgrade.

Now I have some tokens with greater authorization capabilities then others. How do I tell them apart?
In other words, how can I ask Github: “Hey, I have this oauth token… what can I do with it?”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:13:29+00:00Added an answer on June 13, 2026 at 3:13 am

    You can make any GitHub API request and read the value of the X-OAuth-Scopes header to see which scopes were supplied with the token. Using /rate_limit won’t count against your app’s rate limit.

    curl -I -H 'Authorization: token <token>' https://api.github.com/rate_limit
    HTTP/1.1 200 OK
    Server: nginx
    Date: Thu, 18 Oct 2012 23:48:37 GMT
    Content-Type: application/json; charset=utf-8
    Connection: keep-alive
    Status: 200 OK
    Content-Length: 61
    X-GitHub-Media-Type: github.beta
    X-RateLimit-Remaining: 4999
    X-RateLimit-Limit: 5000
    X-OAuth-Scopes: public_repo
    Cache-Control: 
    X-Content-Type-Options: nosniff
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application uses MS access database to save some sensitive information. Though that information
My application uses Mochiweb. As I understand, rebar fetches the latest version from Github
Will apple allow an application that uses only 3rd party ad APIs like the
I've got an app written entirely in Javascript that uses the Github API extensively.
Hello I'm writing an application that uses the compatibility library and i'm using a
I am writing a web application that uses nginx to serve static content and
I am writing a distributed application in Scala that uses Akka actors. I have
I have an application that uses gwt-dnd to make boxes draggable, but when there
I have a rather complex application at https://github.com/BigBadOwl/iStreamer-Download-Manager which uses Rtmpdump and Ffmpeg libraries
I am developing an android application which uses the SQLite database. In that case,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.