A React application has a standard OAuth flow that grants access to Github with no scope. The user can go through another OAuth flow to grant repo
access to the application. How can the application tell if the user has granted the repo
scope or not?
This looks like it would be doable using the /application/grants
API, but that API is scheduled to be deprecated and it only accepts Basic Auth. What's the replacement?