hello guys, im trying to implement a google login ...
# support-questions-legacy
j
hello guys, im trying to implement a google login using the thirdparty recipe, but am gettting a
redirect
error (?). Any clue where i should look at?
r
Hey @jhjhjhjh9964
Are you using our pre built ui?
j
hey @rp_st , yes i am !
export default function App() { return ( {getSuperTokensRoutesForReactRouterDom(reactRouterDom, [ThirdPartyPreBuiltUI])} <Route path="/" element={} /> ); }
r
I think the issue is with your web server
You need to serve the react bundle on all routes of your web server and not just the / route
j
what do you mean by
serve the react bundle
?
not if this helps, but my nest backend is logging this
LOG [HTTP] Logging HTTP request GET /?thirdPartyId=google 200
r
you can google it
j
im not serving my react bundle through my backend though, does this still apply ?
r
so then how is your react app being served?
j
its being served as a separate site
r
yea so how is that serving the react bundle? Does it serve the bundle on all routes?
j
omg thanks you pointed me in the correct direction, its working now !
i was using render.com
this was the solution
r
cheers
2 Views