Create a JSON Web Token by passing an identity and password

This is used to log in with an identity and password. The resulting Jwt specifies the header name and header value that should be passed on all subsequent requests to identity the caller. Tokens expire need to be renewed. Any request with an expired token will return an HTTP 401 error and should be renewed. Best practice is to store the expiry date and renew before the token expires. Catching expiry errors and then deciding to renew and retry the request is often error prone.

Click Try It! to start a request and see the response here!