--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/meteor-core/-/khni6vMveEAJ.
To post to this group, send email to meteo...@googlegroups.com.
To unsubscribe from this group, send email to meteor-core...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/meteor-core?hl=en.
To unsubscribe from this group, send email to meteor-core+unsubscribe@googlegroups.com.
1. this.userId() throws an error for me Client side.
2. While this.userId() is available server side is there a this.User available server side? Like access to the rest of the user collection record for 'this' on the server?
3. How about a server side Meteor.accounts.afterLogin() that allows us to do things after login? Like add things to the this.User collection record in session or at least be able to access the records fields without having to run an additional find/fetch. Maybe even decline the login even though meteor has approved it? Maybe this already exists, but I only saw the this.userId() server side.
This might be particular to me. My users have a field called groups and in it is an array of groups they belong to. Which I am trying to use for the collection publications for things like sections, categories, articles, components, modules, menus, etc... So, I am running a find now to get the user data.
4. Ability to turn off new user creation in the accounts-ui package. That way only login works but not account creation.
5. How can we style the accounts-ui package?
6. Maybe a preprocessing hook before account creation to allow us to define our own rules prior to account creation. Unless Meteor.accounts.validateNewUser already does that.
7. A server side login preprocessing hook like beforeLogin() maybe to allow us to insert custom app specific logic before login completes and ability to decline login before Meteor touches it? Maybe this already exists.
8. Someone else already mentioned email verification as part of the account creation process. Worth mentioning again because a lot of web apps require that.
9. Maybe a manual approval required after account creation. Requires concept of admin to approve sign up requests. Would be good for business use.
10. Configurable options for mandatory email and/or username. Would allow some apps to use email as username and other apps to use only username and some apps to use both. Configurable allow login with either if they exist.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/meteor-core/-/X4J_IwWMEHwJ.
To post to this group, send email to meteo...@googlegroups.com.
To unsubscribe from this group, send email to meteor-core...@googlegroups.com.
Hi Steeve,I'll take a stab at answers inline below. I'm just a user of auth so I may not be 100% right. :)On Jul 26, 2012, at 6:50 AM, steeve wrote:5. How can we style the accounts-ui package?I think this package is still a work in progress. In other discussions we discussed the need for styling the UI but it's something the team wants to visit in the future.
Agreed. I think it's on the to-do list.8. Someone else already mentioned email verification as part of the account creation process. Worth mentioning again because a lot of web apps require that.
10. Configurable options for mandatory email and/or username. Would allow some apps to use email as username and other apps to use only username and some apps to use both. Configurable allow login with either if they exist.I think you can control that using the validation function. You don't have to use the accounts-ui form for account creation.
On Jul 26, 2012, at 6:50 AM, steeve wrote:5. How can we style the accounts-ui package?I think this package is still a work in progress. In other discussions we discussed the need for styling the UI but it's something the team wants to visit in the future.Very much a work in progress. This is a specific area we'd love to get feedback on!
With that in mind, what are the things you'd want to customize? How would you like to style it? What is the first customization you'd make to it? What are customizations that if accounts-ui didn't have would force you to write your own login flow?
10. Configurable options for mandatory email and/or username. Would allow some apps to use email as username and other apps to use only username and some apps to use both. Configurable allow login with either if they exist.I think you can control that using the validation function. You don't have to use the accounts-ui form for account creation.You can do all this with the validation function. We're also planning on adding some basic configuration options that both automatically add validators and control the chrome in accounts-ui. With the right options, we could save a lot of people some effort and complexity. This is also something we'd like feedback on. What are the basic accounts uses cases you'd use in your apps? (username only, email only, what else?)
this.userId()
returns the current user IDTo unsubscribe from this group, send email to meteor-core+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
On Jul 26, 2012, at 2:53 PM, Nick Martin wrote:On Jul 26, 2012, at 6:50 AM, steeve wrote:5. How can we style the accounts-ui package?I think this package is still a work in progress. In other discussions we discussed the need for styling the UI but it's something the team wants to visit in the future.Very much a work in progress. This is a specific area we'd love to get feedback on!With that in mind, what are the things you'd want to customize? How would you like to style it? What is the first customization you'd make to it? What are customizations that if accounts-ui didn't have would force you to write your own login flow?I think designing the HTML to have options for easy CSS styling would be a great start. Perhaps a few options to get the HTML to be sent as a <ul> (for the list of login buttons) or a few nested div options would make it easier to style the UI to integrate with websites. Also a way to hook into the code to add additional options (say extra 'blurb' text or an extra link or button).
I guess the whole extension system for accounts-ui is a big question. Say I implement an additional login provider, how do I add the buttons etc (or is the only model to fork the original and edit the code directly). A particular use-case for me for example is we will have a 'login with google' option, but for employees, we'll want people to login with their company account - which happens to also be a google apps login. The code and login provider is the same accounts-google for the two different 'login buttons' but we want to provide different images /text for one button and auto-fill in our domain for the employee login. And although we have all the providers activated, we may only want some providers shown on some pages. I'm not sure if you want to support that deep a set of options though.
We will be doing email only logins and need a password reset (forgot password) capability. We don't want to allow open account creation (all accounts must be created by an admin) but we want the setup to be mostly self-help (e.g. the admin puts in an authorized email address and the system takes over creating the rest of the account - email verification with instructions, force user to create a password, etc).10. Configurable options for mandatory email and/or username. Would allow some apps to use email as username and other apps to use only username and some apps to use both. Configurable allow login with either if they exist.I think you can control that using the validation function. You don't have to use the accounts-ui form for account creation.You can do all this with the validation function. We're also planning on adding some basic configuration options that both automatically add validators and control the chrome in accounts-ui. With the right options, we could save a lot of people some effort and complexity. This is also something we'd like feedback on. What are the basic accounts uses cases you'd use in your apps? (username only, email only, what else?)
For the accounts themselves, a password validator would be great (e.g. runs a dictionary attack, enforces minimum length, variation in character types - numbers, letters, symbols, etc) as well as password expiry and forced password updating (and no re-using old passwords). Email verification as mentioned before - how to do that while keeping the bundle easy to install in any infrastructure though may be difficult.
I think those are fairly standard, expected account management features that Meteor could provide and create a lot of value.
Email verification is def on the list. Password validators will have to be client side only, since the server never knows the plaintext password. This is probably OK, since if the user really wants to cheat and set a bad password they are only hurting themselves. Not reusing passwords is also a little tricksy, for the same reasons. That's def something to think about.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/meteor-core/-/r1Z_raOrsu8J.
To unsubscribe from this group, send email to meteor-core+unsubscribe@googlegroups.com.
To unsubscribe from this group, send email to meteor-core+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/meteor-core/-/mWTNZ_b6waAJ.
To unsubscribe from this group, send email to meteor-core...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/meteor-core/-/7eIj3T4yW38J.