Closed spencerkohan closed 5 years ago
Hello @spencerkohan,
we'll take this a feature request and repot back when it's implemented.
+1 to this feature request.
+1 Could this support also be added to the web socket connect methods?
Btw - I tested custom authorizers over websockets with some modifications to the SDK code. Will see if I can get cycles to get a PR together.
@spencerkohan @ambarc @johnflanagan-spok This feature has been released in 2.8.4
version of the SDK. Here is the documentation for using custom authorizer: SDK Documentation and Launch Announcement.
Please let us know if you have any feedback.
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.
Which AWS Services is the feature request for?
iOS SDK: AWSIoT component
Is your feature request related to a problem? Please describe.
Currently we are using a custom IoT authorizer for our system, and there does not seem to be support to access this (i.e. to get a thing shadow, to subscribe to MQTT topics) using the iOS SDK.
Custom IoT authorizers are a supported, documented feature of AWS however there does not appear to be support in the mobile SDKs.
Describe the solution you'd like
We would like to be able to provide custom headers for connecting to AWS IoT as is already possible in the node SDK:
https://github.com/aws/aws-iot-device-sdk-js#custom-authorization-configuration
I suppose this would be somehow required in the initialization of the
AWSIoTDataManager
.Also, if you can provide any guidance on a workaround using the current SDK it would be much appreciated.