rusackas commented on code in PR #24481:
URL: https://github.com/apache/superset/pull/24481#discussion_r1274173235


##########
docs/docs/installation/networking-settings.mdx:
##########
@@ -33,6 +33,15 @@ Add the following setting in your `superset_config.py` file:
 
 - `SUPERSET_WEBSERVER_DOMAINS`: list of allowed hostnames for domain sharding 
feature.
 
+Please create you domain shards as subdomain of your main domain like 
following for authorization to 
+work properly on new domains [Issues 23295] 
(https://github.com/apache/superset/issues/23295) . Example - 
+
+- 
`SUPERSET_WEBSERVER_DOMAINS=['dashboards.mydomain.com','1.dashboards.mydomain.com','2.dashboards.mydomain.com','3.dashboards.mydomain.com']`
+
+or Add the following setting in your `superset_config.py` file if domain 
shards are not subdomains of main domain.
+
+- `SESSION_COOKIE_DOMAIN = 'mydomain.com'` 
+

Review Comment:
   ```suggestion
   Please create your domain shards as subdomains of your main domain for 
authorization to 
   work properly on new domains . For Example: 
   
   - 
`SUPERSET_WEBSERVER_DOMAINS=['dashboards.mydomain.com','1.dashboards.mydomain.com','2.dashboards.mydomain.com','3.dashboards.mydomain.com']`
   
   or add the following setting in your `superset_config.py` file if domain 
shards are not subdomains of main domain.
   
   - `SESSION_COOKIE_DOMAIN = 'mydomain.com'` 
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to