I have setup supertokens on one app with a specifi...
# general
m
I have setup supertokens on one app with a specific sub domain lets call it foo.app.com. I have the supertokens api running on foo.app.com/api/v3/auth and the front-end is hitting the api from foo.app.com/auth I want to setup another app that only has a front end. So I was trying to follow the tutorial and essentially set the apiDomain to foo.app.com and websiteURL to bar.app.com. I deployed the bar.app.com website, but when it redirects to bar.app.com/auth it keeps saying there is no assets being returned. However when I test it locally but just launched both apps a local versions I am able to get the front end. Should there be another setting I use to hit an existing instance on another app
r
Hey @User can I see the full stack trance of the error?
m
It's really just a 404 error where the front end doesn't render
So I'm hosting the front end on github pages. But I don't think that should be the issue. I am compiling the react code using react-scripts and serving that. When i do it locally it works :/
r
Hmmm. Can I see the frontend supertokens.init config?
m
Idk what fixed it. I changed something to https and it loaded
r
oh hmm. Interesting
Okay. If this issue comes back again, please feel free to unarchive this thread.
2 Views