aws-mqtt icon indicating copy to clipboard operation
aws-mqtt copied to clipboard

Feature request - Support for custom authorizers

Open okachobi opened this issue 7 years ago • 2 comments

AWS supports custom authentication/authorization through custom authorizers. This involves the client sending in an optional authorizer name, an auth token, and digest for the token based on a cert. These must be sent in the Websocket headers. Apparently web browsers won't permit this (?) but CLI nodejs environment will.

This mqtt library is very simple and straightforward in syntax. If it supported custom authorizers it would do everything I need.

okachobi avatar Feb 18 '18 15:02 okachobi

Is there any docs on this I can read?

kmamykin avatar Jul 06 '18 05:07 kmamykin

They're somewhat poorly documented, but this covers the format of the request...

https://docs.aws.amazon.com/iot/latest/developerguide/custom-auth.html

okachobi avatar Jul 06 '18 05:07 okachobi