How do I authenticate a JWT token?

To authenticate a user, a client application must send a JSON Web Token (JWT) in the authorization header of the HTTP request to your backend API . API Gateway validates the token on behalf of your API, so you don’t have to add any code in your API to process the authentication.

Read more

Why do we need JWT?

Information Exchange: JWTs are a good way of securely transmitting information between parties because they can be signed , which means you can be sure that the senders are who they say they are. Additionally, the structure of a JWT allows you to verify that the content hasn’t been tampered with.

Read more