-
Notifications
You must be signed in to change notification settings - Fork 0
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
Meteor.user() #6
Comments
Thanks @adamdawkins for the feedback. Actually, I was thinking about adding this feature but due to limited resources I haven't got the time to work on in. My idea was that each service in the cluster will keep it's user data and fetch it from it's database (Not from the accounts user collection). That way, you'll have a complete separation of logics. Is this implementation fills your needs or do you need the user data from the accounts collection? |
Not sure on the heat approach yet, but I was planning on only the provider Not sure if that's the right approach though. In your approach, how do you get any initial user data from the provider in El El mié, 3 feb 2016 a las 21:04, Oz Sayag notifications@github.com
|
My goal with this approach is to implement it close to a micro-services architecture. example: App 3 may contain user data such as username, purchases history etc.. I don't think that there is a right approach to it. It just the implementation that close to your project architecture. |
Ok, I don't think we're far off, I'm also basing my implementation on the I have a suit of apps that clients may use, but I want them to be able to To do this I was planning on keeping all user data in a "User data" Similar to what @arunoda did in On Thu, 4 Feb 2016 at 09:12 Oz Sayag notifications@github.com wrote:
|
Hey @ozsay, thanks so much for putting this package together. I was working on this exact thing myself and this is a very elegant solution.
One question, once I've logged in on a consumer,
Meteor.userId()
returns a userId, butMeteor.user()
returns null. Is that by design? and if so, how do I populateMeteor.user()
, or do you just access the logged in user data separately?The text was updated successfully, but these errors were encountered: