Commit Graph

4 Commits

Author SHA1 Message Date
9a554bb2ec 📝 docs: add OpenAPI for API documentation 2026-03-06 21:56:50 +07:00
5a43769f69 🚨 fix: resolve linting type error 2026-01-30 21:21:43 +07:00
d8e8ec3fa7 ♻️ refactor: app token and oAuth endpoint request
These changes include:
1. Replacing the app token with a standard authorization barrier.
2. Changing the response body in the OAuth request by wrapping the endpoint link with a structure instead of placing it in the callback payload data.
2026-01-07 23:56:44 +07:00
89ebfb8aa4 🔒 add app access token middleware
Create a middleware app access token, so that all requests must include `access_token` in the header with a value equal
to API_KEY in the .env file. If not, a `403 Forbidden` error will be returned.
2025-08-13 11:26:57 +07:00