R
Railwayβ€’9mo ago
orangeboi

Adding Custom Domain causes issues with credentials

I added a custom domain to my project, and now when I log in with my app it doesn't think I'm a user, yet when I go back to the railway generated domain for my project my user credentials work fine. Does creating a custom domain for a railway project create a completely different instance?
Solution:
oh dumb mistake on my end I created a custom domain in a different environment of the same project πŸ™ƒ
Jump to solution
10 Replies
Percy
Percyβ€’9mo ago
Project ID: 9c49abc0-ec7c-4537-83ab-82b5248aab9b
orangeboi
orangeboiβ€’9mo ago
9c49abc0-ec7c-4537-83ab-82b5248aab9b
Fragly
Fraglyβ€’9mo ago
it doesn't generate a new instance at all apart from the initial redeploy mind elaborating on what you mean by user-credentials? Where did these credentials come from?
orangeboi
orangeboiβ€’9mo ago
It's a instance of MedusaJS, and by user credentials I mean email and password
Fragly
Fraglyβ€’9mo ago
Did you deploy this via the medusa template?
orangeboi
orangeboiβ€’9mo ago
the behaviour makes me think that when I added a custom domain, it didn't copy the data in the database that is a part of the MedusaJS backend yes
Solution
orangeboi
orangeboiβ€’9mo ago
oh dumb mistake on my end I created a custom domain in a different environment of the same project πŸ™ƒ
Fragly
Fraglyβ€’9mo ago
oh lol I was busy trying to reproduce this error glad you found the problem
orangeboi
orangeboiβ€’9mo ago
thank you so much for the support πŸ™
Fragly
Fraglyβ€’9mo ago
Of course πŸ™‚
Want results from more Discord servers?
Add your server