I'm currently setting up a API gateway for our services. The API gateway handles the Token Validation (via OpenID Connect). The request is only routed to the target backend service if the token is valid.
Should I then also validate token in the backend service itself? The service needs information from the token to modify the database query (only read resources that the user is permitted to). But this means that I have to validate the token again, right?
Is this best practice? Am I overlooking something? Does it make sense to validate the token at the API gateway in this case?