GithubHelp home page GithubHelp logo

accounts-password-client-side's People

Contributors

idanwe avatar leonardobazico avatar phamtrong204 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

accounts-password-client-side's Issues

this.userId is not set on server

Hello,

I am using your package for authentification in an ionic app.
login work fine but when i do :

Meteor.publish("examples", function(){
    if (!this.userId)
}

this.userId is always undefined.

I add account-password on my server.

thanks,

victor

Package is not defined

Hi,

after installing accounts base and accounts-password-client-side. I'm getting a "Package is not defined" error for both libraries. I'm trying to install this package into my angular-meteor-ionic app.

client-side bundle version mismatch with server?

I ran your bundle-min.sh script to get a client-side for accounts-facebook and noticed that the bundled versions don't exactly match my server side. Do I need to keep the server-side versions the same?


# accounts-facebook bundle
accounts-base          added, version 1.2.7   
accounts-facebook      added, version 1.0.9
accounts-oauth         added, version 1.1.12
ddp-rate-limiter       added, version 1.0.4
facebook               added, version 1.2.6
localstorage           added, version 1.0.9
oauth                  added, version 1.1.10
oauth2                 added, version 1.1.9
rate-limit             added, version 1.0.4
service-configuration  added, version 1.0.9

# accounts-password bundle
accounts-base          added, version 1.2.7   
accounts-password      added, version 1.1.8
ddp-rate-limiter       added, version 1.0.4
email                  added, version 1.0.12
localstorage           added, version 1.0.9
npm-bcrypt             added, version 0.8.5
rate-limit             added, version 1.0.4
service-configuration  added, version 1.0.9
sha                    added, version 1.0.7
srp                    added, version 1.0.8


# accounts-base bundle
accounts-base          added, version 1.2.7   
ddp-rate-limiter       added, version 1.0.4
localstorage           added, version 1.0.9
rate-limit             added, version 1.0.4
service-configuration  added, version 1.0.9

Meteor kills user session randomly

I am using meteor 1.4 for server side and an ionic for client application. We are connecting through meteor client library. we are using following js libraries:

  • meteor-client-side,
  • accounts-base-client-side,
  • accounts-password-client-side

What I have observed that meteor kills user session randomly. Below is sample code and steps to reproduce an issue:

Step 1 : deploy meteor sample site with below code to login/logut

Step 2 : browser the meteor app browser Tab 1 and then login

Step 3 : Now browser the meteor app in another Tab 2 - which shows you logged in

Step 4 : Logout from Tab 2

Step 5 : Again from Tab 2 try to login with different user. In this case Login success but after some seconds it auto logout

for login using following code

 $meteor.loginWithPassword($scope.credentials.username, 
 $scope.credentials.password)
  .then(function() {
    console.log('Login success ');
    //alert("logged in: " + $scope.credentials.username);
    $state.go('home');
  }, function(_error) {
    console.log('Login error - ', _error);
    alert("Error: " + _error.reason);
  });

for logout using following code

$meteor.logout().then(function(_response) {      
  $state.go('login');
});   

On server logs it shows an error:

Please let me know what is causing to kill the session and if you have any solution for same.

Create user but do not login afterwards

Hi there!

First of all, very nice project, very helpfull!!

I'm trying to make the ionic2 example with accounts-password instead.

https://github.com/mariohmol/ionic2-meteor-messenger

I can install, run , create a user and when i try to login ,always get "User not found [403]".

Here is the backend where create the user

It appears on mongo db:

  • { "_id" : "6SfTARboho9zcBKfv", "createdAt" : ISODate("2016-09-18T18:47:45.203Z"), "services" : { "password" : { "bcrypt" : "$2a$10$fvAWfUOkJ.0lZKrElE4NuOQx
    IYy5joC2WpoF5REXVNPsUG9jMgSk2" } }, "username" : "[email protected]", "profile" : { } }

But cant login afterwards, here is how i'm using on client:

Any ideias?

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.