Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Index for Meteor.users.services.auth0.id #7

Open
xcv58 opened this issue Mar 31, 2016 · 0 comments
Open

Ensure Index for Meteor.users.services.auth0.id #7

xcv58 opened this issue Mar 31, 2016 · 0 comments

Comments

@xcv58
Copy link
Member

xcv58 commented Mar 31, 2016

We need make sure that user id from Auth0 is unique, a good example:
https://github.com/meteor/meteor/blob/88d43a0f16a484a5716050cb7de8066b126c7b28/packages/accounts-oauth/oauth_common.js#L17

_ensureIndex('services.' + name + '.id', {unique: 1, sparse: 1});

A better way is that change xcv58:auth0-lock logic to use accounts-oauth package.

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

No branches or pull requests

1 participant