# Kibana 7.10 login issues

**URL:** <https://discuss.elastic.co/t/kibana-7-10-login-issues/255201>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 12, 2020, 11:05am UTC](https://discuss.elastic.co/t/kibana-7-10-login-issues/255201 "2020-11-12T11:05:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [November 12, 2020, 2:26pm UTC](https://discuss.elastic.co/t/kibana-7-10-login-issues/255201/5 "2020-11-12T14:26:01Z")

</div>

Well, `username` is a part of `params` and the body itself should be a JSON object, so `--form` and `application/x-www-form-urlencoded` won't work here. What you want is this:

```auto
curl 'https://localhost:5601/internal/security/login' \
  -H 'Accept: */*' \
  -H 'Content-Type: application/json' \
  -H 'kbn-version: 8.0.0' \
  --data-raw '{"providerType":"basic","providerName":"basic","currentURL":"","params":{"username":" ***","password":"***"}}'

```

By the way, the easiest way to get the right request is to just use browser dev tools:

 ![Peek 2020-11-12 15-30](https://us1.discourse-cdn.com/elastic/original/3X/8/1/81373e1bf439dbf7e56e396240706ef4f30eb92f.gif)

---

_[View the full topic](https://discuss.elastic.co/t/kibana-7-10-login-issues/255201)._
