I know rules get ran on login, but I’d love to be able to run a rule when something hits /userinfo.
In my case I’m storing some info that I don’t want available via the client browser, but would love to add it when accessing that same user info from my server.
I figured I could watch the context variable for the location/ip address and take it from there.
Though it seems like rules are only ran on login? Or is there a place to change that?
In my case I was going try and use user meta_data to store some 3rd party api keys for the user. Though my thought was similar to how passwords are stored, to exclude the private key from any user info sent to the client. And allow access on my server to both public/private key in order to make some requests on behalf of the user.
I realize I may have been jimmy rigging the meta-data to be something that it wasn’t. Though I think the bigger thing is that ‘rules’ seamed confusing in that they looked like it was for all requests, not just login requests. I’d sugest changing the wording to ‘login rules’ or something like that.