- Newest
- Most votes
- Most comments
You need to authenticate the mobile user to use MQTT. You can use Cognito to do this. This Blogpost describes this in more Detail: https://aws.amazon.com/blogs/iot/configuring-cognito-user-pools-to-communicate-with-aws-iot-core/
Have a look at this blog where i guide you through on setting this up using BLE and iOS app: https://aws.amazon.com/blogs/iot/connecting-with-mobile-ble-to-aws-iot-core-using-freertos-and-nordic/
How are your web application users being authenticated?. If using Cognito with API Gateway then the userId is provided in the request to your backend. You could map the userId and the deviceIds in a DynamoDB table. This allows the user to access its devices, independently of the device he uses for login.
Hope this may help.
Best regards,
Relevant content
- asked a year ago
- asked 6 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago