jaredhanson / jaredhanson/passport-github

Provide consented scopes in callback

Open
#60 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
535
Forks
290
PR merge metrics
No merged PRs in 30d

Description

Hi!

The [Github API](https://developer.github.com/v3/oauth/#response) returns the consented scopes in a `scope` field along with the access token. It would be cool if this metadata was provided in the verification callback. This is useful in applications that deal with multiple access levels.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the OAuth verification callback and the handling of GitHub's access-token response. Confirm how the API's `scope` field is currently received, then expose the consented scopes through the callback; done means applications can distinguish multiple access levels.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.