-
Notifications
You must be signed in to change notification settings - Fork 295
Auth changes for skills #420
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
Conversation
libraries/botframework-connector/botframework/connector/auth/jwt_token_validation.py
Outdated
Show resolved
Hide resolved
Changes look good overall. What is the plan to get these in? Include all skill work and merge in one PR or merge this in and then the rest of skills? Ideally I'd love to merge this in once we have 1) functional tests for skills and 2) functional auth tests to make sure that the regular path authentication has not been affected. |
In the Teams case, Josh is pushing to another branch. The plan is to then merge that into master when done. Would we not want to do the same here so we don't end up with something incomplete if we we don't finish? |
@@ -64,27 +73,46 @@ def _has_allowed_issuer(self, jwt_token: str) -> bool: | |||
if issuer in self.validation_parameters.issuer: | |||
return True | |||
|
|||
return issuer is self.validation_parameters.issuer | |||
return issuer == self.validation_parameters.issuer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good fix!
Solves #342
Solves #319