Skip to content

Allow extra scopes#15

Open
rubenmeseguer7 wants to merge 2 commits intoteamreflex:masterfrom
rubenmeseguer7:master
Open

Allow extra scopes#15
rubenmeseguer7 wants to merge 2 commits intoteamreflex:masterfrom
rubenmeseguer7:master

Conversation

@rubenmeseguer7
Copy link
Copy Markdown

No description provided.

Ruben Meseguer added 2 commits June 21, 2017 16:57
Use private var for scopes instead of a hardcoded string
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 21, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 4ef4eed on rubenmeseguer7:master into f16528e on teamreflex:master.

@Venefilyn
Copy link
Copy Markdown

Venefilyn commented Sep 3, 2017

The $provider->getAuthorizationUrl() takes in scopes, states, etc. in it's parmeters. Simply just generate $provider->getAuthorizationUrl(['scope' => ['identify', 'guilds']]) and you will only get identify and guilds.

The hardcoded stuff is only if you don't provide it whatsoever.

Edit: Didn't realize the PR is so late, project seems more or less abandoned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants