ok, part of the api I\'m using for writing my app requires I use a cognito token returned from the server in order for me to upload files to AWS S3. I\'m converting from the o