Add login endpoint and update Android login to username/password #17
Reference in New Issue
Block a user
Delete Branch "feature/login-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a username/password login endpoint for the Android app and update the app to use it.
Changes
Server side
POST /api/auth/login— New API endpoint accepting{username, password}JSON, returns the user API token and user infoAndroid app
https://servermanager.devlab.latPOST /api/auth/loginfor authenticationUI
Git
android/directory excluded from version controlNew commits pushed, approval review dismissed automatically according to repository settings