We are trying to use Amazon Web Services Internet of Things (AWS IoT) to send messages from/to a Web Browser (e.g: . Given that the AWS IoT supports JavaScript we expect
It is hard to find good tutorials for integrating AWS IoT in browser.
Basically you need to have some authentication method (Facebook, Google, AWS Cognito, your own SSO service with SAML support) and then you need to do following steps:
AttachPolicy
in IoT for your user's Cognito identityId
- it will be used as principal (it the same way as devices are using certificates).accessKeyId
, secretKey
and sessionToken
received from Extended Flow authentication.