# Login

Operations related to login.

## Login

> Login by organization user

```json
{"openapi":"3.0.3","info":{"title":"AppMaker API - OAS 3.0","version":"1.0.0"},"tags":[{"name":"auth","description":"Authentication and session management."},{"name":"login","description":"Operations related to login."}],"servers":[{"url":"https://abp-api.akinon.net/api/v1","description":"Production server"},{"url":"https://abptest-api.akinon.net/api/v1","description":"Test server"},{"url":"http://localhost:5001/api/v1","description":"Local server"}],"security":[{"bearerAuth":[]},{"accessToken":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"accessToken":{"type":"apiKey","in":"header","name":"x-access-token"}},"requestBodies":{"LoginRequest":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["username","password"],"properties":{"username":{"type":"string","description":"User email"},"password":{"type":"string","description":"Password"}}}}}}},"responses":{"LoginResponse":{"description":"OK","content":{"application/json":{"schema":{"required":["accessToken","refreshToken"],"type":"object","properties":{"accessToken":{"type":"string","description":"Access token"},"refreshToken":{"type":"string","description":"Refresh token"}}}}},"headers":{}},"ValidationErrorResponse":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"validationError":{"type":"object","properties":{}}}}}}}}},"paths":{"/auth/login":{"post":{"tags":["login","auth"],"summary":"Login","description":"Login by organization user","operationId":"login","requestBody":{"$ref":"#/components/requestBodies/LoginRequest"},"responses":{"200":{"$ref":"#/components/responses/LoginResponse"},"400":{"$ref":"#/components/responses/ValidationErrorResponse"}}}}}}
```
