How to use AWS IoT to send/receive messages to/from Web Browser : <p>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 <em>expect</em> that this is <em>possible</em> ...</p>

<p>We have searched at the AWS IoT Documentation but <em>only found <strong>server-side examples</em></strong> <em>(which expose AWS secrets/keys...)</em></p>

<p>Are there any good <em>working</em> examples or tutorials for using AWS IoT to send/receive messages via WebSockets/MQTT in the browser <em>(e.g: authenticating with AWS Cognito)</em>? Thanks!</p>
