How i can detect the country of user registred on my web application ?
You can use any service that determines the country by IP by constructing an API request to it from the backend. I used weatherapi.com for example. You can get the user’s IP on the back in the “Get request header” (name x-forwarded-for or x-real-ip) block.
Also you can enable CDN and read CF-IPCountry header.