2 Answers
- Newest
- Most votes
- Most comments
0
Hi,
The AWS IoT Device SDK for C++ v2 supports the process for custom authorizers. You can modify the pubsub sample to test. Essentially set websocket to true, and then change the protocol as referenced here. This should then pass the additional HTTP Headers to the Custom Authorizer. The additional authParam
headers are processed here.
I haven't tested with C++, so please do respond if you are successful or not.
Edit: The above method would be for request headers used by POST or GET. Query headers could also be used by modifying the URI while still changing the protocol name.
answered 2 years ago
0
Many thanks, Gavin! I have tried it and it is working well for me.
answered 2 years ago
Relevant content
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago