add test to token

This commit is contained in:
2025-09-29 09:05:15 -03:00
parent 1b6e4b7b5e
commit c527fa0245
5 changed files with 58 additions and 9 deletions

View File

@@ -74,6 +74,7 @@ class AuthorizationServer(oauth2.AuthorizationServer):
'created_at': now_,
}
)
transact.put(
item={
'id': 'OAUTH2#TOKEN',
@@ -156,6 +157,7 @@ class AuthorizationServer(oauth2.AuthorizationServer):
body,
headers,
):
logger.debug('handle_response', status=status, body=body)
return Response(
status_code=status,
body=body,