What I've done
- I have set up Knox instances with KnoxSSO and with the same master secrets, accessable through nginx balancer
- I have set up Zeppelin with shiro definding in
knoxJwtRealm.publicKeyPath
one of Knox instance's public key
It works fine while Zeppelin connecting to this instance of Knox. But when it switches to another instance I get an error:
KnoxJwtRealm.java[validateToken]:118) - Signature of JWT token could not be verified. Please check the public key
So, is it possible to use KnoxSSO with multiple instances of Apache Knox and how to achieve that?