And maybe another question as well, how secure is ...
# prisma-whats-new
r
And maybe another question as well, how secure is the user authentication graphcool provides in comparison to a more heavy-weight solution like AWS Cognito? Is there anything specifically I should watch out for?
m
@rein the main thing I've noticed is you have to be careful when writing your serverless functions. You need to check authentication and whether or not the user has the right privileges. The api (
const api = fromEvent(event).api('simple/v1')
) defaults to root
r
Thanks @max Ill keep that in mind. I'm a bit lost in choice between AWS AppSync and the new GraphCool API. Both require more configuration but on different fronts.
m
@reinyeah not easy. I haven't looked into it. I am probably going to use the Graphcool API as I imagine it'll be easier to integrate.
Have you compared AWS to Google Cloud Functions for use with Graphcool?
r
well, I got into the AppSync beta on sunday and so far, Ive been trying to wrap my head around the AWS ecosystem since its not just a matter of using AppSync as I first thought. You still need to configure Cognito, DynamoDB, IAM, ... before you can really make use of it.
Ive been struggling 2 days with a simple facebook auth setup now
so yeah, GraphCool api might be easier to implement, I'm just not sure if it's actually the better choice.
But atm, I had just about enough of AWS
I would like to hear the experience of people who actually have a big graphcool app in production
a
@rein did you ever figure out the facebook auth setup you were working on? i have also struggled to get this working.
r
@adamibaker Yup, well, depending on what you need but yes, I got it working. Ill message you in PM.