Reputation: 3
AWS IoT supports this via userPools, how this can be done via Google Cloud messaging? -Thanks
Upvotes: 0
Views: 130
Reputation: 81
Cloud IoT Core recommends HTTP bridge for that. (https://cloud.google.com/iot/docs/how-tos/http-bridge) To establish a connection to HTTP Bridge you have to prepare a private key signed JWT for authentication. The problems will be: where do you store the PK in a secure way in the browser session and how to make a relation between the browser user and IoT device identity?
Btw, 'Google Cloud Messaging' was not part of Google Cloud IoT, was a different product. Now Firebase Cloud Messaging is a recommended product https://firebase.google.com/docs/cloud-messaging/
Upvotes: 3
Reputation: 76639
use a JavaScript MQTT
client, for example Eclipse Paho; this just needs an external IP.
Upvotes: 2