Getting the user's IP address in an action
Is there a cross-interface (GQL, JSON, etc.) way to get the user's IP address in an action?
2 Replies
It depends 🙂 What I would currently suggest is to set the users ip in a key on the actor
so you could do something like
actor.__metadata__.ip_address
Ok, sounds good. A small plug should do the trick. Thanks!