It is not clear from documentation of Azure Digital Twin Swagger, how to get Client ID and Client Secret. From the url link, figured it client_id as Application ID, however not able to get how to set client_secret:?
+1 i can't get the swagger to work either - would be neat though. i've done all my explorations through writing code and using postman.
The tutorials are very good. There is an excellent walk-through on how to register an app in AAD and get the needed clientId and clientSecret bits. It's for postman, but start to finish it works very well.
https://learn.microsoft.com/en-us/azure/digital-twins/security-authenticating-apis
Unfortunately it's not currently possible to authenticate to Digital Twins directly from Swagger, however, we did want to provide the Swagger sample as a "sneak peak." But, the docs do need updating as it's not clear that "try it out" is not functional. Thank you for your input. As mentioned above postman is an alternative.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With