Tracking Login Device Details
I’m working on analytics APIs in my Medplum project and need to include insights about the devices (e.g., browser, OS, or device type) used during user logins. However, I noticed that there’s no standard field in the Login resource to store this information. Would it be appropriate to use an extension in the Login resource for this purpose, or is there a better approach?
Tracking Logout Events and Timestamps
As part of building analytics APIs, I also need to track user logout events and their timestamps. However, I couldn’t find any existing resource or method in Medplum that records logout activity. Is there a built-in way to achieve this, or should I create a custom implementation? Any guidance would be appreciated.