node -v
v16.17.0
npm i -g @nestjs/[email protected]
POST: https://localhost:3000/auth/login
Payload:
{
"email": "[email protected]",
"password": "admin.2022"
}
GET: https://localhost:3000/auth/profile
Header: Auth: 'Bearer <toke>'
POST: https://localhost:3000/auth/refresh
{
"refreshToken": "<refresh_token>"
}
GET: https://localhost:3000/auth/logout
Header: Auth: 'Bearer <toke>'
https://localhost:3000/graphql