You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ved-kashyap-samsung (via GitHub)" <gi...@apache.org> on 2023/07/27 08:45:00 UTC
[GitHub] [superset] ved-kashyap-samsung commented on a diff in pull request #24481: docs: fix for domain sharding results in failed requests with "Missing Authorization Header"
ved-kashyap-samsung commented on code in PR #24481:
URL: https://github.com/apache/superset/pull/24481#discussion_r1275939869
##########
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:
Incorporated suggested changes. Thanks @rusackas !
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org