Cant login into KIbana using JWT

Hi,
I been trying to configure kibana with autologin using JWTs - I followed the instructions here:

But no matter what I do I cant get it to work?
I can see this error in the elasticsearch logs:
odfe-node1 | [2019-08-29T16:58:11,148][WARN ][c.a.o.s.h.HTTPBasicAuthenticator] [odfe-node1] No 'Basic Authorization' header, send 401 and 'WWW-Authenticate Basic'

And in the browser the following is shown:
Authentication failed Please provide a new token.

Thanks