How to reproduce:
- Create a consent with a
validityTime.
- After the validity time (after few minutes), search the consents which are active using
GET /consents?consentStatuses=ACTIVE
- The newly created consent which should not be active also returned with the status as ACTIVE
Note: The status will be changed to EXPIRED state when that consent is validated with /consents/validate request