DaiziaD
ZITADEL6mo ago
2 replies
Daizia

domain per organization

I can set a organization to login using login scope
but when I make a nginx redirect to my main instance
here is overview
- I self host zitadel with docker compose with ENV set ZITADEL_EXTERNALDOMAIN=accounts.company.com
- I'm using nginx proxy manager
- my main domain with default instance is accounts.company.com point to docker that I set
- I have a second organization call domain2 and register subdomain with accounts.domain2.com also add it into verified domains
- subdomain accounts.domain2.com is also point to docker that I set
- I got this error
unable to set instance using origin &{accounts.domain2.com  https} (ExternalDomain is accounts.company.com): ID=QUERY-1kIjX Message=Instance not found. Make sure you got the domain right. Check out https://zitadel.com/docs/apis/introduction#domains

I follow the Organization Domains document
also when domain using api /system/v1/zitadel.instance.v2beta.InstanceService/AddCustomDomain
it not found like in image
how do I setting?
image.png
Was this page helpful?