a year ago
So I am trying to host medusa backend on railway but I can't login to my admin dahsboard anymore. So before I deployed on railway I used localhost :7001 to login to my admin and to create new products. Everthing worked perfectly. But once I swithced to railway, its been a nightmare.I followed all instructions:
https://docs.medusajs.com/deployments/server/deploying-on-railway#deploying-with-the-backend
Everything is deployed and running. But I can't get to the admin panel. So I used this template starter with sveltekit:
https://github.com/pevey/sveltekit-medusa-starter
So once I deployed on railway I couldn't login to the admin panel. If I go to /store/products, then I can see empty products and /health says "OK". But going to /admin it will throw "unauthorized".localhost:7001 default admin password doesnt work anymore. So where do I login now?
Any ideas?
4 Replies
a year ago
This would be an issue with medusa and or your configuration / setup, not so much an issue with the Railway platform, so you would be able to get better help from the medusa community than the Railway community.
Status changed to Solved Railway • over 1 year ago
a year ago
Well I thought that too but then i used a template from Railway and when i try to login on /app/login then I always get an error "Invalid key". So the question is why would this be Medusa's fault and not from Railway? I tried all Railway medusa templates and I always get same error
a year ago
If you are having an issue with the application that means the application is missconfigured or is setup incorrectly.
a year ago
The issue has been solved. Thank you!