Integrated readOnlyrest -saml with IDM and it is failing after directing from IDM; steps
- Enabled SAML integration in Kibana-readonly rest
- Clicked - Enter using SAML SSO
- Page now redirected to IDP
- Authentication completed and got the valid response back from IDP.
- Redirected to the kibana-assert url and it is failing; it states "Could not login: "Unauthorized (401) "
Here are the config details. please check and assist.
readonlyrest.yml
readonlyrest:
access_control_rules:
- name: "::KIBANA-SRV::"
auth_key: user:password
- name: "ReadonlyREST Enterprise instance #1"
ror_kbn_auth:
name: "kbn1"
ror_kbn:
- name: kbn1
signature_key: "iupdatedthissignaturekey"
kibana.yml:
xpack.security.enabled: false
readonlyrest_kbn.auth:
signature_key: "* *iupdatedthissignaturekey* *"
saml:
enabled: true
entryPoint: 'endpoint'*
kibanaExternalHost: 'localhost:5601/ror_kbn_sso/assert'
usernameParameter: 'email'
groupsParameter: 'memberOf'
logoutUrl: ' *https://sso-localtest.fi/uas/saml2/sp/SingleLogoutService*'
SAML -response: Attributes
<saml:AttributeStatement>
<saml:Attribute Name=ārolesā NameFormat=āurn:oasis:names:tc:SAML:2.0:attrname-format:unspecifiedā>
<saml:AttributeValue xmlns:xs=āā xmlns:xsi=āā xsi:type=āxs:stringā>dna_users/User</saml:AttributeValue>
<saml:AttributeValue xmlns:xs=āā" xsi:type=āxs:stringā>dna_users/OrganizationMainUser</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name=āemailā NameFormat=āurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddressā>
<saml:AttributeValue xmlns:xs=āā xmlns:xsi=āā xsi:type=āxs:stringā>velmurugan.baskaran.ext@dna.fi</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
Thank you.