8000 update token validation issues (#1419) · microsoft/botbuilder-python@c491636 · GitHub
[go: up one dir, main page]

Skip to content

Commit c491636

Browse files
authored
update token validation issues (#1419)
* update issues * black formatting
1 parent 6daed05 commit c491636

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libraries/botframework-connector/botframework/connector/auth/emulator_validation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class EmulatorValidation:
3535
"https://sts.windows.net/cab8a31a-1906-4287-a0d8-4eef66b95f6e/",
3636
# Auth for US Gov, 2.0 token
3737
"https://login.microsoftonline.us/cab8a31a-1906-4287-a0d8-4eef66b95f6e/v2.0",
38+
# Auth for US Gov, 1.0 token
39+
"https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/",
40+
# Auth for US Gov, 2.0 token
41+
"https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0",
3842
],
3943
audience=None,
4044
clock_tolerance=5 * 60,

libraries/botframework-connector/botframework/connector/auth/skill_validation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class SkillValidation:
3232
"https://login.microsoftonline.com/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0", # Auth v3.2, 2.0 token
3333
"https://sts.windows.net/cab8a31a-1906-4287-a0d8-4eef66b95f6e/", # Auth for US Gov, 1.0 token
3434
"https://login.microsoftonline.us/cab8a31a-1906-4287-a0d8-4eef66b95f6e/v2.0", # Auth for US Gov, 2.0 token
35+
"https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/", # Auth for US Gov, 1.0 token
36+
"https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0", # Auth for US Gov, 2.0 token
3537
],
3638
audience=None,
3739
clock_tolerance=timedelta(minutes=5),

0 commit comments

Comments
 (0)
0