Skip to content
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.

Modified the scope to use Google profile and email scope instead of the Google Plus scope #20

Closed
wants to merge 1 commit into from

Conversation

Maelstrom96
Copy link

Check this for reference :
https://developers.google.com/+/web/api/rest/oauth
In some case, the user won't have a Google Plus profile and the
profile.displayName will be empty, which is not really nice if you need
to do ACL or remove access to a user. Using the email seems more
appropriate since a user can change it's display name, and by doing so,
it will create a new XO account.

…he Google Plus scope

Check this for reference :
https://developers.google.com/+/web/api/rest/oauth
In some case, the user won't have a Google Plus profile and the
profile.displayName will be empty, which is not really nice if you need
to do ACL or remove access to a user. Using the email seems more
appropriate since a user can change it's display name, and by doing so,
it will create a new XO account.
@julien-f
Copy link
Member

Thanks for your PR :)

I don't remember why I choose to use this scope :/

We'll take a look soon!

@julien-f
Copy link
Member

The only worry I have is for current users of the plugin :/

@Maelstrom96
Copy link
Author

Could you just do some plugin configurations (possibility to change the Scopes from Google Plus to Google Account and the XO account name from DisplayName to Email address). Keeping the Google P^lus scope and the DisplayName as default would prevent affecting the current users, but leave some customization for the person like me who wants to use the email address.

@julien-f
Copy link
Member

julien-f commented Apr 5, 2017

Closing in favor of #23

@julien-f julien-f closed this Apr 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants