From a4c7b2a744ab10f67546ceee5a8cd88ff8d4e3b3 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 26 Mar 2024 18:51:46 +0100 Subject: [PATCH] add new flow for get credentials from wallet --- ereuse_devicehub/modules/oidc/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ereuse_devicehub/modules/oidc/views.py b/ereuse_devicehub/modules/oidc/views.py index 749f1458..18e18583 100644 --- a/ereuse_devicehub/modules/oidc/views.py +++ b/ereuse_devicehub/modules/oidc/views.py @@ -232,7 +232,6 @@ class AllowCodeOidc4vpView(GenericMixin): def dispatch_request(self): vcredential = self.get_credential() - import pdb; pdb.set_trace() if not vcredential: return jsonify({"error": "No there are credentials"}) @@ -265,7 +264,7 @@ class AllowCodeOidc4vpView(GenericMixin): db.session.add(code) db.session.commit() - url = "http://{host}/allow_code_oidc4vp2?code={code}".format( + url = "http://{host}:5000/allow_code_oidc4vp2?code={code}".format( host=app.config.get('HOST'), code=code.code ) @@ -289,7 +288,6 @@ class AllowCodeOidc4vp2View(View): return redirect(url) def get_user_info(self): - import pdb; pdb.set_trace() code = Code2Roles.query.filter_by(code=self.code).first() if not code: