inProgress-team / inProgress-team/react-native-meteor

Meteor.user() is null after Meteor.loginWithPassword()

Open
#236 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
688
Forks
200
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I met an issue when after doing `Meteor.loginWithPassword()`, and in the callback did `const user = Meteor.user()`, it shows `user === null`.

This happened when my app connected with URL `wss:///websocket`, but when the app connected with a local host `ws://localhost:3000/websocket`, it works completely fine, ie it returns the user object as expected.

Am I doing anything wrong with the package or wws stuff?

FYI @adamgins

Regards,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.