Hi, I am using this example for third-party social...
# support-questions-legacy
a
Hi, I am using this example for third-party social login https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-thirdparty I replaced (core's URL)
connectionURI: "https://try.supertokens.com",
with
connectionURI: "http://localhost:8080",
in
api-server.js
After clicking "**continue with google**", I got redirected to "supertokens.com", then to the google login screen. I don't see any logs in
core
service after initiating the login flow. Is it still sending request to try.supertokens.com somewhere? Why is it redirecting to supertokens.com? Is it hard-coded somewhere?
r
Hey
You should see logs in the core assuming that you have restarted the server post making the change
The reason it hits supertokens.com is cause you are using our google credentials for logging in. Use your own and then it won’t hit our site
a
I restarted but no logs. > The reason it hits supertokens.com is cause you are using our google credentials for logging in. Use your own and then it won’t hit our site But where is the supertokens.com coming from? Because while mentioning creds, we don't mention URL. Is it possible that browser is caching that URL? 🤔
r
Since the flow is working, it’s correctly connected to your local core
The google credentials that you are using belongs to us. Those are a special case in which we redirect to our site since our site is registered as the callback on Google’s dashboard.
a
Understood now where the supertokens.com is coming from. Let me try again. Thanks
4 Views