---
id: create-security-login
title: "Create security login"
description: "Authenticate and get a JWT access and refresh token"
sidebar_label: "Create security login"
hide_title: true
hide_table_of_contents: true
api: eJzFV1tP3DgU/itH1koFbWBgtSuhVDzAiKqwVUGdQV2JIOpJzkxSHDu1nYHZKP99dezc5oKqUq3KC4lzbt93Lj5TsQRNrLPCZkqykJ2VNkVps5hbBC4TWKAFDlefp8DjGI1xhxrnGk0KVj2iZAHT+K1EY89VsmJhxWIlLUpLj7woBBnLlBx9NeSiYiZOMef0VGhVoLYZGvfGjXlSOqHn9aimKUL7FeZKA+/DJImA4TPPC4EsZLGih+eDzlrA7KqgL8bqTC5YHZDfZZag3vY0TpUyhHzDBXQqAUNZ5iy8Y8mMBUwkvGD3wwDc8ZbLhrJtj5dzsLpE4OusQmZanwlwYdQQJCl0PmZKCeSSnJQGteQ57maw/fo9BnmSZ3IbQ92dqNlXjC057JSG2duVgp5xz09Hh4fSB954r+val1WmMfFS7sAUShpfLn8cHf1EsflqfvAVHFYvJuxFie/QsW6/1doy25urg5dbkQpwUjqL81KQpz9/CnyOxvAF/jiqTpGdcxoDru1DuJRLLrIECq55jhZ1X7u7kA10PZbjX4vlVlI3KJ39i0kIG7x3RbgDyFCRrP/1q7NyKS01kgCDeokaUGulQziTUEp8LjC2mPhDUHFc6hdwveOWCy/nnfOFoYk3wbjUmV3RwKPIHa5L1/IaucUH0wg8CLVwM+T5IFYJTlyoZKJigssFKdx++kDjk89Q9K9GlTp2U7zUAg7+gZvryRQillpbhKORUDEXqTI2PDk6ORnxIhstj0et05FzGjGIokgCHLyHyDUR5cdFGsI5co0afjsbjy8mk4fp9d8XH9cVxj53B9NVgSFspq+XTeBNFbFHXEUshIgtuSgxYvUbVgcdxpuVTd1sbVF2Bx3OLC+Utm03mEhGsh1ycNodHxbK2D3yCz9KRuC1UuQJanNabVDio29oiRj8DsPBVTfaBP10F9xI7key0Jm0e23YhyS8t78/JOKKL/nE1deAjLXDPvFKGuKj44A/8czCHG2cOgZeg7/yMHK0qUoofiqrTW7CVgw264Ywf2lLp/IETR0/X4JeZVg5nqXt6vHSLa0zlaxCuJpcfzz0nZ7NV3sVPOJqwDHU+yRNVL+NpKcn4ZZ31GwQ3wgpgYdCLfZIdP8tq+8D5uGzkFE10Z3MbcpCtps5yombIb5rS00p28k825weH+gzJLhEoYocpW2mkasIb6gqtLIqVqIOR6OKTNVhRZ1Qb1kbl8aqvDURsCXXGZ+JZmVszPiFZ85LYZswB3ta80r/DE2udfvvp9Mb6OzUAaNo1u11eLeCm/gxS9/cZqU0XN64DVPpDSM7qWr0nXRdU5LaLEzokvAgvz45UzNXgO+UzjnZu/o8pRw5MdoC3dd+a3Og64CUHwa752uMkBWj5Kd+yb/439a+gGVyrrb310lZoDZIGbCZdWvq4IjK1Mstjz37xubcXbaN+bG7n6BlF9oaX/MyuLlf+UOo4c3isx0VgntEruSrpt3uGC8yCvmY9cmmqegCum/L745V1YwbvNWirun4W4l6xcK7+74D6I3q1Y0v16WPuCKsg0HkGkaUjuHNVYTa0WucxTG6Mfyy7HB+0PRkAZs1P/dylZCO5k+UYf7EQsZoPyBtV8DuzF8Gpd9TvE36+w+8rgRj
sidebar_class_name: "post api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Create security login"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/security/login"}
  context={"endpoint"}
>

</MethodEndpoint>



Authenticate and get a JWT access and refresh token

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails>

</ParamsDetails>

<RequestSchema
  {...require("./create-security-login.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./create-security-login.StatusCodes.json")}
>

</StatusCodes>
