Open romdim opened 6 years ago
I haven't found anyone else reporting this. We use devise, devise-token-auth and ng-token-auth connecting Rails and Angular.
Our issue is that the current_sign_in_ip and last_sign_in_ip saved on db are the IP of front-end server and not the user's IP.
Is anyone else having this issue and know how to fix it? Is there a way to post to devise and save the correct IP?
Are you using a proxy on your client app?
It's hosted on Google Cloud, in a container, so I guess it is proxied, yes..
I haven't found anyone else reporting this. We use devise, devise-token-auth and ng-token-auth connecting Rails and Angular.
Our issue is that the current_sign_in_ip and last_sign_in_ip saved on db are the IP of front-end server and not the user's IP.
Is anyone else having this issue and know how to fix it? Is there a way to post to devise and save the correct IP?