Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mqtt_demo_mutual_auth username parameters for client authentication #1893

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

chinglee-iot
Copy link
Member

Support parameters in CLIENT_USERNAME

Description
Before this PR, CLIENT_USERNAME can't be appended with extra parameters. These parameters are used in client authentication to specify token, signature and authorizer.

Test
Specify the authorizer in CLIENT_USERNAME should be able to connect to AWS IoT core.
For example,

#define CLIENT_USERNAME    "Test?x-amz-customauthorizer-name=test_nodejs"

Issue
#1885

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@chinglee-iot chinglee-iot requested a review from a team as a code owner October 20, 2023 09:07
@chinglee-iot chinglee-iot changed the title Fix mqtt demo username parameters Fix mqtt_demo_mutual_auth username parameters for client authentication Oct 20, 2023
@chinglee-iot chinglee-iot merged commit cec0ce5 into aws:main Oct 23, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants