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

Fix accounts package using wrong server #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BudgieInWA
Copy link

This PR is my workaround for reloading logging a user out (closes #1)

This is a slightly different approach to the remote DDP problem that involves specifying the remote URL in a settings file so that it's available before the accounts package is loaded. It then uses a private API of the accounts package to get it to connect to the right server. The connection that the accounts package creates is then used for everything else.

I changed so much of the code and API and the solution is so brittle that I renamed the package on my fork, but this PR is for you to use or learn from or cherry pick from.

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.

Remote User Login Works - Reload disconnects user
1 participant