We have a multiserver system with an Azure API Management service facing the client.
Our identity service is proprietary and generates regular JWT tokens. The token has an expiration date, so we automatically throw an Unauthorized error when the client sends after expiration. Everything working OK.
Now, if the user logs out, we remove the token from the client application and therefore is forced to login again for keep working with the backend.
But the fact is that, being the JWT still valid, it can be reused by any client application until it expires. So, we are looking for a standard token revocation mechanism in APIM, because it would be very costly to have a revocation list on every internal server behind it.
The concrete question is: Is there any "blacklist" functionality in APIM where we can add the revoked tokens (due to, logout)? Is there an API for that?