Using IoT Hub authentication for custom web app #3001
-
Hello, I'm not sure if this is the correct place to ask but I was wondering if the SDK team would have any recommendations/insight for our use-case. We're using the IoT Hub for C2D commands but would like to have our own web app for other functionality related to our devices. Is there a way to verify SAS tokens or another authentication method that could be used in the current IoT Hub SDK for this scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @rgrace-puck, you are in the right place! It sounds like you want to use the same SAS tokens to authenticate with IoT hub and with your own web app as well. To be clear, though, is your question: "Given a symmetric key (like IoT hub has), how can I check if a provided SAS token was derived by it? (Like IoT hub does during authentication)"? |
Beta Was this translation helpful? Give feedback.
Hi @rgrace-puck, you are in the right place!
It sounds like you want to use the same SAS tokens to authenticate with IoT hub and with your own web app as well. To be clear, though, is your question: "Given a symmetric key (like IoT hub has), how can I check if a provided SAS token was derived by it? (Like IoT hub does during authentication)"?