All,
We are using React Native to develop a mobile application, We are using APP Sync for few operations.
Earlier we use API_KEY for authorization and the graphql code is straight forward. We configure the all the required keys and directly do the query in
API.graphql( graphqlOperation(updatedata, { id, record }) )
Now we have change in the Authorization type, moved from API Key to access token from cognito from server due to some security changes. We get the accesstoken for Authorization, Now how can we send the Authorization token for every Graphql request or How to handle it?
Can anyone explain