I have an error when I try to enter kibana using keyclock to authenticate and authorize, where the process in keyclock shows that the token is generated but in kibana this error appears
[Symbol(ElasticsearchError)]: ‘Elasticsearch/notAuthorized’ }
71632{“type”:“log”,“@timestamp”:“2023-06-30T15:07:23Z”,“tags”:[“error”,“plugins”,“opendistroSecurityKibana”],“pid”:1 ,“message”:“SAML SP initiated authentication workflow failed: Error: failed to get token”}
When I remove roles from the user to authenticate, Kibana loads but indicates that it does not have any associated role but if they are assigned, an error 500 appears by browser and by log the one mentioned above