#Admin Auth broken in production
13 messages · Page 1 of 1 (latest)
Do you have SSL (https://?
Yes
Redis?
Yes
Read my post here and crosscheck everything: https://github.com/medusajs/medusa/issues/2314#issuecomment-1422429232
Domains should not be on Public Suffix List: it's a custom .com domainSSL certificate on all domains (https): Everything is encrypted, both the admin domain, and the APIadmin, storefront and backend under the same main domain i.e. mydomain.com, backend.mydomain.com, admin.mydomain.com: They are on the same main domainCOOKIE_SECRET is set: It is set to a 32 character stringRedis needs to be set up (it acts as express session store): The logs confirm that medusa connects to redis successfully
It might be nginx ssl config
Unfortunetly my nginx knowledge is limited
Yeah it was an nginx issue
If i have to guess it was because of the Host header.