Capturing Login Data

Is it possible to capture the login data to set a login time and date? I do not see in an Action to capture this information.

BSS

Hi Benjamin, I’ll assume you set the access to your app to private or public with sign-in.

When a user signs in to the application, Glide does not record a timestamp (date and time) for that login.

You could however build a screen that a user will always see when they log in, or at least on their very first login. The screen could say something like “Welcome to our app.” or any welcome text and image of your choice. Below these there could be a button that says “Enter” and as the user clicks the button an action would write a timestamp to the users table. Upon click, the page would also disappear thanks to visibility conditions in the page.

I hope this helps.

1 Like

Thanks, Nathanael. That was my next goal but I read using AI that I could get the action to automatically run. No luck, this far.

BSS

1 Like

Just to be clear, no action can be triggered if the user just access the app. Logs of log in attempts can be captured automatically if you’re connected to a Google Sheet though, but only when the user actually logs in, not when they close the app and open it again whilst still signed in.

This isn’t something that is accessible within the app, but in the usage screen you can access a log of recent logins.

3 Likes