accounts
accounts copied to clipboard
A few questions regarding the current state
Hi, I'm the maintainer of the Angular-Meteor tutorial. Me and @Urigo are in the process of writing the new version of the tutorial.
We would like to get rid of Meteor (at least on the client) and use apollo-client
2.0, apollo-angular
1.0 and js-accounts
instead of Meteor's DDP
and meteor-accounts
.
In order to do so we need the following features:
- Express or even better Koa middlewares
- Being able to use Apollo's graphql endpoint
- accounts-phone (a login service based on mobile phone number)
- accounts-facebook (a login service based on Facebook's oauth)
- accounts linking (to be able to link social network accounts with accounts-phone ones)
First of all I would like to ask you where can I find a basic example with Express + Apollo + Angular, because I've only found a single example with Express + REST + React.
Once I'll get something to play with I would like to discuss about the features I need. I would be probably able to implement some of the features I need (like the accounts-phone
service), but others (like accounts linking) will require to rethink the whole js-accounts
if they weren't already taken into account during the design phase.
Thanks, Niccolo'
As an user of js-accounts, I would be pleased to see an accounts-phone released ! concerning accounts-facebook, you may want to take a look on PR #112 Good luck with your project! Getting rid of meteor on the client seems to be the best way to go!
Hey @darkbasic! Unfortunately we currently don't have an example to show angular/graphql implementations but I've actually done that in a couple of projects so feel free to contact me through the email address on my profile or through @Urigo and I'll point you in the right direction. Would love to have an example of course just never got to it...
Only accounts-phone is missing from PR #112, but after that's merged it will be pretty easy to add in, and also right now you can actually implement a wrapper on js-accounts that does that if you want. I would advise to begin from the PR actually just to be future proof.
I think most of this could be accomplished with new MFA.
I'm gonna give a try to recode the oauth-facebook basing off the twitter one.