OpenId Keycloak Docker

Hi, mmamaenko

I’m learning to use Opendistro security for Elasticsearch. I looking sample to work with keycloak. I found your docker-compose file

I tried to use docker-compose file from your GitHub to start Opendistro Elasticsearch Security using Keycloak as OpenID backend.

I follow your instruction to use docker-compose file as below.

  1. add admin user with email address admin@example.com to oauth2 realm in keycloak

  2. Create admin role in client kibana-sso

  3. Add admin role to admin user in step 1

  4. Create roles mapper for kibana-sso client

  5. open kibana page then kibana redirect to authentication with Keycloak.

  6. Login with user created in step 1. I got an error ERR_TOO_MANY_REDIRECTS

Could suggest what is my mistake to make docker-compose file working.

Best regards,
Maethee