Implement user authentication on web side. Than create API for authentication on desktops.
Implement user authentication on web side. Than create API for authentication on desktops.