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

Fixed signature validation failed #136

Merged
merged 3 commits into from
Jan 15, 2023
Merged

Fixed signature validation failed #136

merged 3 commits into from
Jan 15, 2023

Conversation

MrDave1999
Copy link
Member

@MrDave1999 MrDave1999 commented Jan 15, 2023

The problem was that the JwtBearerHandler class was validating the token sent by DirectLine (token signed with the bot password) with the secret key used to sign the access token, so the validation was failing.

The solution is based on ignoring token validation when the path is /messages (this is the path used for the bot).

@MrDave1999 MrDave1999 merged commit 5111cd8 into dev Jan 15, 2023
@MrDave1999 MrDave1999 deleted the fix/issue-135 branch January 15, 2023 01:38
@MrDave1999 MrDave1999 added the bug-fix A pull request that fixes a bug label Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix A pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDX10501: Signature validation failed. Unable to match key: Failed to validate the token.
1 participant