title: Kibana OIDC Okta Integration redirecting straight to ${KIBANA_URL}/auth/openid/login with 401
body: <p>I'm trying to integrate open distro ELK with OpenID Connect by following the guide here (<a href="https://opendistro.github.io/for-elasticsearch-docs/docs/security/configuration/openid-connect/#kibana-single-sign-on" rel="nofollow noreferrer">https://opendistro.github.io/for-elasticsearch-docs/docs/security/configuration/openid-connect/#kibana-single-sign-on</a>), specifically by updating the kibana.yml and config.yml files as shown.</p>
  <p>The behavior I'm seeing is:</p>
  <ol>
  <li>Visit ${KIBANA_URL}</li>
  <li>Get redirected straight to ${KIBANA_URL}/auth/openid/login with 401</li>
  </ol>
  <p>I'm checking the network requests, and I'm not sure why it's not redirecting to the IDP (Okta) first. What should I check next?</p>