Get the IPV4 address of the Motoko caller

I create a login form by email and password and then I need to create sessions if the user logs in by mobile, iPad, or another device

So I want to list the sessions to make any session inactive for the user.

How can I get an IPV4 address and some data about the browser in Motoko?

There’s some ideas in this thread. But in general we suggest to use Internet Identity instead of traditional email/password logins

ok thanks @Severin :grinning: