SwiftDDP icon indicating copy to clipboard operation
SwiftDDP copied to clipboard

Can not login

Open meilissalee13 opened this issue 8 years ago • 3 comments

I keep on getting this error when I tried to login : error = 403; errorType = "Meteor.Error"; message = "You've been logged out by the server. Please log in again. [403]"; reason = "You've been logged out by the server. Please log in again.";

can you help please?

meilissalee13 avatar Aug 11 '16 08:08 meilissalee13

seems this error data comes from your server side. From swift hit server successfully ... can you share your code please ...

zahedul avatar Aug 12 '16 04:08 zahedul

Meteor.loginWithUsername("(username)", password: "(password)") { result, error in // do something after login print(result) }

^ only this, and the result returning nil value..

meilissalee13 avatar Aug 12 '16 04:08 meilissalee13

@meilissalee13 403 is 'Not authorized'. Are you sure you have a user with such credentials. Try logging in from web.

aramix avatar Aug 12 '16 05:08 aramix