R
Railwayβ€’10mo 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β€’10mo ago
Project ID: 9c49abc0-ec7c-4537-83ab-82b5248aab9b
orangeboi
orangeboiOPβ€’10mo ago
9c49abc0-ec7c-4537-83ab-82b5248aab9b
Fragly
Fraglyβ€’10mo 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
orangeboiOPβ€’10mo ago
It's a instance of MedusaJS, and by user credentials I mean email and password
Fragly
Fraglyβ€’10mo ago
Did you deploy this via the medusa template?
orangeboi
orangeboiOPβ€’10mo 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β€’10mo ago
oh dumb mistake on my end I created a custom domain in a different environment of the same project πŸ™ƒ
Fragly
Fraglyβ€’10mo ago
oh lol I was busy trying to reproduce this error glad you found the problem
orangeboi
orangeboiOPβ€’10mo ago
thank you so much for the support πŸ™
Fragly
Fraglyβ€’10mo ago
Of course πŸ™‚
Want results from more Discord servers?
Add your server