News for hackers. Stuff that matters.
Re:AWS AppSync – Build data-driven apps with real-time and o... by codyswann on Wednesday April 11, 2018 @12:20PM (#16812662)
I'm leading development on a React Native app using AppSync.

So far it's amazing.

It leverages Apollo for offline/GraphQL capabilities and Apache VTL to bind resources.

It also integrates really nicely with AWS Amplify.

One thing that was a bit of an annoyance was access levels.

You can authenticate with the GraphQL api using a Key, IAM or Cognito JWT

Key is for development only.

IAM does not expose Cognito Groups to VTL

JWT requires an active session.

So we had to create a "fake" account for non-signed in access.

Use case being, a "guest" can read data from the API but only "admins" can write data to the API

Re:AWS AppSync – Build data-driven apps with real-time and o... by k__ on Wednesday April 11, 2018 @12:41PM (#16812891)
I had the impression Cognito had this feature, but maybe I'm thinking of Auth0 here