I'm in need of some help with my app. In my app, I was hoping to provide read-only access to AppSync for unauthenticated users. To do this I allowed unauthenticated identities in my Identity User pool and attached an appropriate role. I can't seem to figure out though how to make an unauthenticated request using this package.
Edit:
Ok, I figured it out. You can simply remove the login parameter in both getIdentityId and getAwsCredentials. As far as I can see there is no such functionality already present. Should I open a pull request with this change?
Hey everyone,
I'm in need of some help with my app. In my app, I was hoping to provide read-only access to AppSync for unauthenticated users. To do this I allowed unauthenticated identities in my Identity User pool and attached an appropriate role. I can't seem to figure out though how to make an unauthenticated request using this package.
Edit: Ok, I figured it out. You can simply remove the login parameter in both
getIdentityId
andgetAwsCredentials
. As far as I can see there is no such functionality already present. Should I open a pull request with this change?Greetings Noureddine