8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e98de commit 159901fCopy full SHA for 159901f
libraries/botframework-connector/botframework/connector/auth/jwt_token_validation.py
@@ -165,6 +165,9 @@ async def validate_claims(
165
):
166
if auth_config and auth_config.claims_validator:
167
await auth_config.claims_validator(claims)
168
+ elif SkillValidation.is_skill_claim(claims):
169
+ # Skill claims must be validated using AuthenticationConfiguration claims_validator
170
+ raise PermissionError("Unauthorized Access. Request is not authorized. Skill Claims require validation.")
171
172
@staticmethod
173
def is_government(channel_service: str) -> bool:
0 commit comments