Get IP address when user is logging in #8952
Unanswered
MasterWolfx
asked this question in
Help
Replies: 1 comment
-
You can get the IP address of the user in your Next.js app by following these steps: Step 1: Create an API Route to Get IP Address
Step 2: Fetch IP Address in the Login Component and Pass it to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I need to get the ip address of the user who is loggin in.
Additional information
At the moment i can get userAgent trough headers, i also find some headers that should contain the ip like x-forwarded-by or x-real-ip, but both of them are not set, and they can be easly spoofed.
Has anynone any idea to get the ip address?
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions