Microservices - Authentication and Authorization
Consider this code snippet for JWT validation in a microservice:
What is the expected behavior if the JWT token's "exp" claim indicates it has expired?
if verify_jwt(token):
grant_access()
else:
reject_request()What is the expected behavior if the JWT token's "exp" claim indicates it has expired?
