I am new to opendistro.
I am trying to set up the Elastic Search and Kibana using OpenDistro. Main objective is to create authorization tokens for the users. Using these tokens,will be tracking the sessions
Added the following in config.yml
jwt_auth_domain:
description: "Authenticate via Json Web Token"
http_enabled: true #updated this to true
transport_enabled: false
order: 0
http_authenticator:
type: jwt
challenge: true #Updated this to true
config:
signing_key: "base64 encoded HMAC key or public RSA/ECDSA pem key"
jwt_header: "Authorization"
jwt_url_parameter: null
roles_key: null
subject_key: null
Then added internal_users.yml
username:
hash: "[HASH_KEY_HERE]"
reserved: false
hidden: false
backend_roles:
- "admin"
attributes:
attribute1: "value1"
static: false
After, this I am not able to login to kibana using user [username]. It says invalid username or pwd
But, I am able to login using kibanaserver which is the default user pwd.
However,This does not enable to add the roles and users. Screen shot below.
Basically, I want to enable Basic Auth and JWT tokens. So that i get bearer token using the basic auth on Kibana
what is it that I am missing?