I am trying to use CognitoCachingCredentialsProvider
with a User Pool requiring login through the User Pool with a username and password. I have finally got to the point where I am getting the error Unauthorized access is not supported for this identity pool
(and yay! for finally getting that far!), which is kind of what I was expecting to see, seeing as I can't for the life of me figure out how I'm supposed to tell the Provider what the username and password are.
How am I supposed to use this to log in my users? I have been told that I don't need to use Federated Identities or any other authentication provider other than User Pools to be able to log in, but can this be done with the CognitoCachingCredentialsProvider
?