idanwe / accounts-password-client-side Goto Github PK
View Code? Open in Web Editor NEWUse Meteor's accounts-password package with meteor-client-side.
License: MIT License
Use Meteor's accounts-password package with meteor-client-side.
License: MIT License
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
How would this be done for the other accounts packages? is it possible?
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.
Hi idan,
Is there any simple way using facebook login
in a project where only server is meteor ?
Thanks,
Asaf
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?
# server side versions
[email protected]
[email protected]
[email protected]
[email protected]
# 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
I'm trying to get this to work with the ionic CLI. This is what I have so far, but it's not pretty - works fine in the browser, but not from a device, e.g. ionic run
I'm open to suggestions.
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:
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.
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:
But cant login afterwards, here is how i'm using on client:
Any ideias?
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.