-
Notifications
You must be signed in to change notification settings - Fork 486
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
Double check emulator path when skipping endorsement check #6704
Conversation
This is failing on: Error Message: |
Scratch that. This one: [xUnit.net 00:00:18.58] Microsoft.Bot.Connector.Tests.Authentication.JwtTokenExtractorTests.JwtTokenExtractor_WithValidCert_ShouldNotAllowCertSigningKey [FAIL] |
I believe the test should be: public async Task JwtTokenExtractor_WithValidCert_ShouldNotAllowCertSigningKey()
} |
@boydc2014 Is this still a thing? |
Pull Request Test Coverage Report for Build 388172Details
💛 - Coveralls |
✔️ No Binary Compatibility issues for Microsoft.Bot.Connector.dll |
…#6704) * Skip endorsement check based on explicit token validation * fix styles * Fixed failing test which now expects an Unauthorized exception --------- Co-authored-by: Rakesh <[email protected]>
Fixes a potential security risk. #minor
Description
This PR ensures we skip endorsement check only when we are certain about this is emulator path, instead of assuming it is emulator based on the endorsement list get from open id endpoint.
Specific Changes
Testing