diff --git a/doc/testing/postman/CAPIF.postman_collection.json b/doc/testing/postman/CAPIF.postman_collection.json index eab0e7b6b43072f136fc298dc7ae0d4aef311a16..606a4a0f91104039d813b4f10facfb98e64daf85 100644 --- a/doc/testing/postman/CAPIF.postman_collection.json +++ b/doc/testing/postman/CAPIF.postman_collection.json @@ -979,7 +979,7 @@ "exec": [ "var res = JSON.parse(responseBody);", "", - "pm.environment.set('REFRESH_TOKEN', res.refresh_token);" + "pm.environment.set('ADMIN_TOKEN', res.access_token);" ], "type": "text/javascript", "packages": {} diff --git a/doc/testing/postman/Postman-Test.zip b/doc/testing/postman/Postman-Test.zip index 0f3d09d0d19e6156e03c59d4d07fa9c03aaa51b5..321d95cf5295f26cc7f0fbfb9ff35036e4b7742d 100644 Binary files a/doc/testing/postman/Postman-Test.zip and b/doc/testing/postman/Postman-Test.zip differ diff --git a/doc/testing/postman/hello_api.py b/doc/testing/postman/hello_api.py index 0b2a35989ecfaa144489d1b6012f61453c91bd68..9bc82577afc5e5faea1b4e0fe87875ed78197d62 100644 --- a/doc/testing/postman/hello_api.py +++ b/doc/testing/postman/hello_api.py @@ -1,12 +1,7 @@ from flask import Flask, jsonify, request -from flask_jwt_extended import jwt_required, JWTManager, get_jwt_identity, get_jwt -import ssl +from flask_jwt_extended import jwt_required, JWTManager from werkzeug import serving -import socket, ssl -import OpenSSL from OpenSSL import crypto -import jwt -import pyone app = Flask(__name__) diff --git a/doc/testing/postman/requirements.txt b/doc/testing/postman/requirements.txt index a6e4396101ec6bf6fabd13cc42e479c596f40714..0022a8fd2666ae847ebc85f62a47b43acb7cca42 100644 --- a/doc/testing/postman/requirements.txt +++ b/doc/testing/postman/requirements.txt @@ -1,4 +1,3 @@ Flask == 3.0.3 flask_jwt_extended == 4.6.0 -pyopenssl == 24.1.0 -pyone \ No newline at end of file +pyopenssl == 24.1.0 \ No newline at end of file