Staff members, upon login, shall be given a session token for login persistence.
- Client-side staff logins (Assume correct credentials)
- API create a new session token, sends to client
- Client receives and store session token.
- Future API calls and action should require session token to perform.
Thing to consider
- Expiration for token; Allow staff to select if login persists or not.
- A token shall not be used by a different client. (Security; Store the client device information, and require client device to provide their own information alongside with token when doing actions. If the device information and token doesn't match, request for re-authentication again)
Staff members, upon login, shall be given a session token for login persistence.
Thing to consider