-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
We need to be able to request a specific scope. For example, if I want access to the users emails, calendar events, and profile, I have no way to specify it. If there was also some documentation on what information the token gives us access to, that would be much more helpful. Auth2 on passport.js' site has documentation on this (click here and scroll down to 'Scope').
An example of requesting a specific scope is like this:
passport.use(new OAuth2Strategy({
"authorizationURL": "https://login.microsoftonline.com/common/oauth2/authorize",
...
"resource": "https://login.microsoftonline.com/common",
"scope": ["email", "offline_access", "profile"] // the scope
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels