You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a new custom authorizer sample and support to the V2 C++ SDK
* Added custom authorizer sample
* Clang format fix
* Update to use correct function naming
* More clang-format fixes
* Modified Codebuild custom authorizer name with better name
* Added custom authorizer sample to README
* Updated to use latest CRT release
@@ -387,6 +388,41 @@ Your Thing's [Policy](https://docs.aws.amazon.com/iot/latest/developerguide/iot-
387
388
</pre>
388
389
</details>
389
390
391
+
## Custom Authorizer Connect
392
+
393
+
This sample makes an MQTT connection and connects through a [Custom Authorizer](https://docs.aws.amazon.com/iot/latest/developerguide/custom-authentication.html). On startup, the device connects to the server and then disconnects. This sample is for reference on connecting using a custom authorizer.
394
+
395
+
Your Thing's [Policy](https://docs.aws.amazon.com/iot/latest/developerguide/iot-policies.html) must provide privileges for this sample to connect.
You will need to setup your Custom Authorizer so that the lambda functionreturns a policy document. See [this page on the documentation](https://docs.aws.amazon.com/iot/latest/developerguide/config-custom-auth.html) for more details and example return result.
0 commit comments