fix nonce

This commit is contained in:
Cayo Puigdefabregas 2023-06-23 14:29:08 +02:00
parent 0438cbb509
commit 8762705cb5
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ DUMMY_JWT_CONFIG = {
def exists_nonce(nonce, req): def exists_nonce(nonce, req):
return False
exists = OAuth2AuthorizationCode.query.filter_by( exists = OAuth2AuthorizationCode.query.filter_by(
client_id=req.client_id, nonce=nonce client_id=req.client_id, nonce=nonce
).first() ).first()