JWT sync in Kong cluster?


#1

For example, now I’m using Kong Cluster. Now I invoke Kong admin API create JWT credentials and generate token to client, then client send request by token.
I want to know there had a Kong node have no sync JWT data, so the request auth will fail ?


#2

@JianmingXia,

Kong stores the credentials inside a database, which keeps the tokens in sync across multiple Kong nodes inside a cluster.
The request will not fail on another Kong node if it is part of the same cluster and can reach the database whilte the request is being proxied.