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

this.getCurrentUser returns wrong user #10

Open
benjaminhaven opened this issue Jun 2, 2016 · 1 comment
Open

this.getCurrentUser returns wrong user #10

benjaminhaven opened this issue Jun 2, 2016 · 1 comment

Comments

@benjaminhaven
Copy link

benjaminhaven commented Jun 2, 2016

When we have multiple users using system at the same time the this.getCurrentUser call will often return the wrong value.

It seems that getCurrentContext has several issues listed in the loopback github issues and google groups. I'm curious if you've experienced this at all or have any suggestions on how to resolve it?

@mrfelton
Copy link

mrfelton commented Jun 6, 2016

@benjaminhaven We have experienced issues with getCurrentContext returning nothing, but never with it returning the wrong context. This is the relevant issue loopbackio/loopback-datasource-juggler#657 although we haven't hit it in a good while.

Also see strongloop/loopback#878 strongloop/loopback#1961

The supposed workaround is being worked on in strongloop/loopback#1495. Once there is something workable there we will look to update this component based on that solution.

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

2 participants