Skip to content

Fixing addProvider function, 'authProviders' was not getting updated #86

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

Merged
merged 2 commits into from
May 8, 2017

Conversation

rajchourasia
Copy link
Contributor

The fix for adding custom providers (#70) was not working for me. Below line was used to merge providers in "addProvider" function

Object.assign({}, authProviders, provider);

Above statement merges objects "authProviders" and "provider" into a new object which is returned by the above statement when '{}' is passed as the first argument.

@ydeshayes
Copy link

Hi ! did you manage to get it work @rajchourasia ?

@rajchourasia
Copy link
Contributor Author

@auser auser merged commit 00544ee into fullstackreact:master May 8, 2017
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