Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix for domain sharding results in failed requests with "Missing Authorization Header" #24481

Merged
9 changes: 9 additions & 0 deletions docs/docs/installation/networking-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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']`
ved-kashyap-samsung marked this conversation as resolved.
Show resolved Hide resolved

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'`

ved-kashyap-samsung marked this conversation as resolved.
Show resolved Hide resolved
### Middleware

Superset allows you to add your own middleware. To add your own middleware, update the
Expand Down
Loading