Hi All,
I was trying to integrate Okta with elasticsearch, getting below error while logging into console,
{"statusCode":401,"error":"Unauthorized","message":"[security_exception] unable to authenticate user [<unauthenticated-saml-user>] for action [cluster:admin/xpack/security/saml/authenticate], with { header={ WWW-Authenticate={ 0=\"Bearer realm=\\\"security\\\"\" & 1=\"ApiKey\" & 2=\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\" } } }"}
below is my Okta integration part from elasticsearch.yml
xpack.security.authc.realms.saml.prod-saml:
order: 2
idp.metadata.path: "/etc/elasticsearch/ELK_ProdV1.xml"
idp.entity_id: "http://www.okta.com/jurjyh1asdwreZJ2PSmblgj0"
sp.entity_id: "https://itdashboard.iff.com:5601"
sp.acs: "https://itdashboard.iff.com:5601/api/security/v1/saml"
sp.logout: "https://itdashboard.iff.com:5601/logout"
attributes.principal: "nameid"
attributes.groups: "groups"
In elasticsearch logs below is the only error i am getting,
[2020-09-25T02:24:56,159][INFO ][o.o.c.c.InitializationService] [1.3.5.3] Initializing OpenSAML using the Java Services API
[2020-09-25T02:24:56,858][INFO ][o.o.x.a.AlgorithmRegistry] [1.3.5.3] Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmlenc#ripemd160
Any idea where i'm doing the mistake.
THanks
Gautham