Hi,
I am running react frontend, nestjs backend with supertokens. Everything is working fine. but if I run the client on local IP instead of localhost, supertoken login page is not displaying. it says This site can’t be reached. 172.20.36.142 refused to connect.
how can I run supertoken react app example on IP address instead of localhost?
Please help me.
r
rp_st
04/02/2024, 1:31 PM
hey @kmahesh_ this is nothing to dowith supertokens. It's an issue with how you are running your application.
k
kmahesh_
04/03/2024, 3:56 AM
Hi @rp_st ,
thanks for the quick response.
I am little bit confused because I am running supertokens core in the docker and my application is running on my loacl IP, then the login page doesn't come. I thought supertoken only works with localhost .
In the below link, I found that supertokens allows request from anywhere unless we deny the IPs
https://supertokens.com/docs/thirdparty/common-customizations/core/ip-allow-deny
I will check again . Thank you
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).