Question: how jwt token is validated?
Answer: Verify that the JWT contains three segments, separated by two period ('. ...  Parse the JWT to extract its three components.