Questions tagged [meteor-accounts]

Account management with the open-source Meteor platform.

Meteor includes built in support for logging in using password, Facebook, Twitter and a few other OAuth providers, as well as a basic UI. Support for other login options and UI frameworks are provided by 3rd party packages.

Questions related to both Meteor's builtin support and 3rd party account related packages are appropriate.

750 questions
18
votes
4 answers

Meteor 1.3+ Accounts Facebook Login for iOS not working

I have been trying to find a solution (sadly for 3 months now) to login with Facebook using Meteors Accounts Facebook on iOS. I have tried just about everything a Google search will come up with, reached out on the Meteor forums and even opened up a…
NicholasByDesign
  • 781
  • 1
  • 11
  • 33
14
votes
2 answers

How to partly update meteor.users.profile?

I have started a min app based on meteor boilerplate with the module accounts-ui. There is a collection created call users one of its elements is profile, this again has an element called "name" which gets the login name. With in this test app is an…
Michael Hoeller
  • 22,018
  • 10
  • 39
  • 66
12
votes
1 answer

Meteor template: What's the simplest way to check if a user is logged in?

I'm using Meteor's accounts-ui. Is there a way to check if the user is logged in on the template without writing custom helper code? Pseudo code: {{#if userIsLoggedIn }} You're logged in {{/if}} If not, what's the cleanest, most idiomatic way…
Alveoli
  • 1,202
  • 17
  • 29
10
votes
2 answers

Call frontend methods from external meteor application

I am making a dockerized services-based application. Some of the services will be written in meteor, some won't. One of the services is a registration service, where users can register for the platform. When doing microservices, normally I do the…
user2205763
  • 1,499
  • 2
  • 14
  • 30
10
votes
3 answers

Accounts.onCreateUser adding extra attributes while creating new users, good practices?

I'm creating new user with Accounts.createUser() and it works normally if you are not doing anything fancy. But I want to add some other fields to new user that are not listed on documentation. Here is my code: var options = { username:…
lehtu
  • 868
  • 1
  • 12
  • 27
9
votes
1 answer

Meteor validated method not found

I'm migrating my Meteor application from Meteor 1.2 to Meteor 1.3 and following the guide on http://guide.meteor.com/methods.html#validated-method to create a validated method. When I call the method, I believe client-side simulation is happening,…
Chris Livett
  • 201
  • 1
  • 8
9
votes
2 answers

Do accounts-password email tokens ever expire?

For Accounts.forgotPassword() and Accounts.sendVerificationEmail(), a token is generated. Does that token ever expire? If so, after what period of time?
Artfree
  • 111
  • 4
9
votes
4 answers

Using onResetPasswordLink, onEnrollmentLink, and onEmailVerificationLink methods properly in Meteor

I was wondering if someone would be kind enough to provide a meteorpad or code example of using one of the methods listed above properly in Meteor (with iron:router). I'm struggling to understand how exactly these methods interact with my app, and…
bgmaster
  • 2,313
  • 4
  • 28
  • 41
8
votes
1 answer

Meteor session cookie & meteor_login_token

According to the docs , Meteor doesn't use session cookies. However, what's the meteor_login_token cookie used for then? It looks to me like a session cookie, created after the user successfully signs in, and passed then to every request made to the…
user4093955
8
votes
1 answer

Long observeChanges call during login

We are seeing very slow login response times on our Meteor app. As load approaches 200 logins/minute the observeChanges calls become quite slow: As loginWith is part of Meteor core, this problem seems difficult to debug. Note that we only…
Max Ferguson
  • 676
  • 1
  • 7
  • 25
8
votes
1 answer

Meteor: How should I update the Users collection to include a new attribute in the object / dictionary?

I've tried looking for an answer all over but cannot seem to get this working. I'm using Meteor with Cordova to build a mobile app. I want to add an attribute to my Users collection (the one Meteor creates when I'm logged in). ie. For example, I…
8
votes
1 answer

How to add/edit users with meteor accounts and autoform

I am building part of an admin system in Meteor that lets admins add/edit other admins. I am using Meteor Accounts and Autoform, but I can't figure out how to handle it so the users are validated with Autoform and saved properly. From what i've…
7
votes
1 answer

Meteor.loginWithGoogle error 10 on android

I used the function Meteor.loginWithGoogle as below to login with google. It's working on browser but It's fail (the console log is error 10) when I build to apk (by cordova). handleLoginError(err, service) { …
7
votes
4 answers

Meteor: How to assign different roles to users during sign up process

I am using the meteor package ian:accounts-ui-bootstrap-3 for accounts and alanning:roles for assigning roles. On the sign up form I have two options one for Doctor and one for Advisor. I want to assign the selected option as a role to that user.…
Mohsin Rafi
  • 539
  • 6
  • 14
7
votes
3 answers

Can I use the same DB for multiple Meteor apps?

Use case: the app I built on app.foo.com, and an instance of telescope on community.foo.com, on separate application servers. The only collection they'd share is users. I would give the same mongo url and oplog url to both apps, and make sure that…
Loren
  • 13,903
  • 8
  • 48
  • 79
1
2 3
49 50