Reference

jwt_token

Name of the HTTP cookie, that, if present, will be used as a client JWT. The cookie should be set by the HTTP server as described here. This setting is useful when generating NATS Bearer client JWTs as the result of some authentication mechanism. The HTTP server after correct authentication can issue a JWT for the user, that is set securely preventing access by unintended scripts. Note these JWTs must be NATS JWTs.

Note: If the client specifies a JWT in the CONNECT protocol, this option is ignored.

  • Default value: n/a
  • Hot reloadable: Yes

Values

TypeDescriptionChoices
string--
Previous
timeout