You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2023/10/04 18:38:00 UTC

[superset] branch master updated: docs: fix for domain sharding results in failed requests with "Missing Authorization Header" (#24481)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 87c8e872ee docs: fix for domain sharding results in failed requests with "Missing Authorization Header" (#24481)
87c8e872ee is described below

commit 87c8e872eec29ac194fb803744b339b42ac20949
Author: VED PRAKASH KASHYAP <ve...@samsung.com>
AuthorDate: Thu Oct 5 00:07:52 2023 +0530

    docs: fix for domain sharding results in failed requests with "Missing Authorization Header" (#24481)
    
    Co-authored-by: Evan Rusackas <ev...@preset.io>
    Co-authored-by: John Bodley <45...@users.noreply.github.com>
---
 docs/docs/installation/networking-settings.mdx | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/docs/installation/networking-settings.mdx b/docs/docs/installation/networking-settings.mdx
index 9ea49fcdc6..1eb6b0ae03 100644
--- a/docs/docs/installation/networking-settings.mdx
+++ b/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 your domain shards as subdomains of your main domain for authorization to
+work properly on new domains. For Example:
+
+- `SUPERSET_WEBSERVER_DOMAINS=['superset-1.mydomain.com','superset-2.mydomain.com','superset-3.mydomain.com','superset-4.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'`
+
 ### Middleware
 
 Superset allows you to add your own middleware. To add your own middleware, update the