Forum Academy Marketplace Showcase Pricing Features

How to display users (Google OAuth) login time stamp on a page?

I had no luck searching for this. Does anyone know how would one display user login activity on a page? We are using Google OAuth. Ideally I would like to show something like a scrolling last 3 users with date/time stamp.

@JamesGreg

Add a date field to the user object and call it last login date

On log the user in update this date with current date

Thank you.

If anyone looks this up later I was able to show the scroll using animation event, restricting with a time scope (e.g. last 5 min), and with conditional when the field isn’t empty. I’m not sure if this scale up for many users but it works for now.