From 8762705cb53a01c9dfff675ef0cb9b64bbf99fcd Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 23 Jun 2023 14:29:08 +0200 Subject: [PATCH] fix nonce --- ereuse_devicehub/modules/oidc/oauth2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ereuse_devicehub/modules/oidc/oauth2.py b/ereuse_devicehub/modules/oidc/oauth2.py index 9c7c8a88..072f2235 100644 --- a/ereuse_devicehub/modules/oidc/oauth2.py +++ b/ereuse_devicehub/modules/oidc/oauth2.py @@ -31,6 +31,7 @@ DUMMY_JWT_CONFIG = { def exists_nonce(nonce, req): + return False exists = OAuth2AuthorizationCode.query.filter_by( client_id=req.client_id, nonce=nonce ).first()