Skip to content

Commit

Permalink
WIP2
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Nov 7, 2023
1 parent 93a597c commit 40707cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,14 @@ def test_at_pop_via_testingsts_service(self):
)
self.assertEqual(validation.status_code, 200)

#@unittest.skipUnless(self.app.is_pop_supported(), "Need to enable broker first")
def test_at_pop_calling_pattern(self):
# https://identitydivision.visualstudio.com/DevEx/_git/AuthLibrariesApiReview?path=/PoPTokensProtocol/PoP_API_In_MSAL.md&_a=preview&anchor=proposal-2---optional-isproofofposessionsupportedbyclient-helper-(accepted)
endpoint = "https://20.190.132.47/beta/me"
resp = requests.get(endpoint, verify=False)
self.assertEqual(resp.status_code, 401, "Initial call should end with an http 401 error")
print(resp.headers) # .get("WWW-Authentication"))


if __name__ == "__main__":
unittest.main()

0 comments on commit 40707cc

Please sign in to comment.