---
# System prepended metadata

title: Workflow Authenticate

---

---
title: 'Workflow Authenticate'
disqus: hackmd
---

TrackiPRO
===

User flows
---
```sequence
TrackiPRO\nFrontend->TrackiPRO\nBackend: POST Login API
TrackiPRO\nBackend->Trackimo API: POST: Login API
Trackimo API->TrackiPRO\nBackend: Response
TrackiPRO\nBackend->TrackiPRO\nBackend: If user not found\nSkip
TrackiPRO\nBackend->TrackiPRO\nBackend: If 401??
TrackiPRO\nBackend->TrackiPRO\nBackend: If 200
TrackiPRO\nBackend->TrackiPRO\nFrontend: Response token\nof: {trackiPRO, trackimo, app tracki}
TrackiPRO\nFrontend->TrackiPRO\nFrontend: Save token to\nlocalStorage
TrackiPRO\nFrontend->Trackimo: Call API /devices
TrackiPRO\nFrontend->TrackiPRO\nBackend: Call API /devices
TrackiPRO\nFrontend->TrackiPRO\nFrontend: Show total devices of\nall systems
```





