diff --git a/popup.html b/popup.html index 44e2bfe..bcd6dff 100644 --- a/popup.html +++ b/popup.html @@ -36,6 +36,7 @@ + diff --git a/python/schemes/oqee.py b/python/schemes/oqee.py new file mode 100644 index 0000000..3273280 --- /dev/null +++ b/python/schemes/oqee.py @@ -0,0 +1,7 @@ +req = loadBody("json") +b64challenge = base64.b64encode(challenge).decode() +req['licenseRequest'] = b64challenge + +res = await corsFetch(licUrl, "POST", licHeaders, req, "json") +js.document.getElementById('result').value=res +licence = res["result"]["license"]