I'm working with Amplify, I added the authentication to my application and my graphQL schema is with rule private, all things work good in my local, each graphQl api called, It contains the access token and appSync accept my request. But when I deploy my App, I get an error because all my graphQl request still with api-key not with access token.
In the console I use this configuration:
In my local : all thins work good after authentication.
In production : graphQl still with api-key after authentication