---
title: "Authentication"
description: "Nexus now supports user authentication using JSON Web Tokens (JWT)."
canonical_url: "https://docs.ctrl-neo.dev/en/nexus/endpoints/authentication"
---
# Authentication

> Nexus now supports user authentication using JSON Web Tokens (JWT).

Nexus now supports user authentication using JSON Web Tokens (JWT).

### Sign Up

- **POST** `/signup`
- **Body**:
```json
{
  "username": "newuser",
  "password": "securepassword"
}
```
- **Response**: Returns a success message

### Sign In

- **POST** `/signin`
- **Body**:
```json
{
  "username": "existinguser",
  "password": "correctpassword"
}
```
- **Response**: Returns a JWT token to be used for authenticated requests

### Using Authentication

For authenticated endpoints, include the JWT token in the Authorization header:

```text
Authorization: Bearer your_jwt_token_here
```


## Sitemap

See the full [sitemap](https://docs.ctrl-neo.dev/sitemap.md) for all pages.
