Setup:
- AWS Amplify API w/ GraphQL
- AWS Amplify Auth w/ Cognito User Pools
Say the majority of the platform should be accessible by a logged out user. E.g. they should be able to read forum Topics
, but if they want to post, they need to sign in.
I see an @auth resolver that I can use, but whenever I try to make a graphQL call to my.url.amazonawscom/graphql
to fetch Topics
, it says "errorType": "UnauthorizedException"
. I'm having trouble figuring out how a logged out user can have authorization to publicly accessible data.