This API implements the OAuth 2.0 Resource Owner Password Credentials flow to obtain access tokens. Used for authenticating users and generating tokens for API access.
Store tokens securely - never expose in client-side code
Refresh tokens should be encrypted at rest
Rotate client secrets regularly
Use PKCE for public clients if implemented
Usage Example
GET /api/protected-resource HTTP/1.1
Host: api-dev.tripdata.vn
Authorization: Bearer iufhfWPkY_LOP8haywhRijU7KfntoXW3_uAoyBnFlts
Warning: This authentication method should only be used by trusted clients. For web/mobile apps, consider using Authorization Code flow with PKCE instead.