Need help in Platform starter kit?
Unanswered
Pharaoh Hound posted this in #help-forum
Pharaoh HoundOP
Hello members...
I will try to explain my question...
## I installed it locally. Totally confused when it was redirecting me to platform blog page, I fixed it in middleware file.
What I did...
- I put all the env vars.
- I connected database by creating project on vercel, then using vercel cli to connect db.
- Used localhost:3000 for public root domain
Issue:
- app.localhost:3000 redirects to login page , after login it does not redirects me to anywhere, but again I have same login page with callback toaster on the right bottom
- localhost:3000 always shows 404 page.
## Again I tried to deploy it from vercel platform kit template. I did necessary setup. I used custom domain, but again vercel url / domain was displaying 404.
If anyone knows the fix, please go ahead... Thanks
I will try to explain my question...
## I installed it locally. Totally confused when it was redirecting me to platform blog page, I fixed it in middleware file.
What I did...
- I put all the env vars.
- I connected database by creating project on vercel, then using vercel cli to connect db.
- Used localhost:3000 for public root domain
Issue:
- app.localhost:3000 redirects to login page , after login it does not redirects me to anywhere, but again I have same login page with callback toaster on the right bottom
- localhost:3000 always shows 404 page.
NEXT_PUBLIC_ROOT_DOMAIN="localhost:3000" ## Again I tried to deploy it from vercel platform kit template. I did necessary setup. I used custom domain, but again vercel url / domain was displaying 404.
If anyone knows the fix, please go ahead... Thanks
1 Reply
Iridescent shark
I had to go into Github Developer Settings to remove an extra callback url the default app had created for localhost. Ensure it's just these two: