This is an automated email from the ASF dual-hosted git repository.
tai 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 a90e168 docs: required information for OAuth2 configuration (#15010)
a90e168 is described below
commit a90e16850dc5e4f276e6dd55e101ced7ac45dcdf
Author: Ke Zhu <[email protected]>
AuthorDate: Sun Jun 6 22:26:13 2021 -0400
docs: required information for OAuth2 configuration (#15010)
---
docs/src/pages/docs/installation/configuring.mdx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/src/pages/docs/installation/configuring.mdx
b/docs/src/pages/docs/installation/configuring.mdx
index 53340a5..d4fc778 100644
--- a/docs/src/pages/docs/installation/configuring.mdx
+++ b/docs/src/pages/docs/installation/configuring.mdx
@@ -113,6 +113,8 @@ RequestHeader set X-Forwarded-Proto "https"
Beyond FAB supported providers (Github, Twitter, LinkedIn, Google, Azure,
etc), its easy to connect
Superset with other OAuth2 Authorization Server implementations that support
“code” authorization.
+Make sure the pip package [`Authlib`](https://authlib.org/) is installed on
the webserver.
+
First, configure authorization in Superset `superset_config.py`.
```python
@@ -175,6 +177,10 @@ from custom_sso_security_manager import
CustomSsoSecurityManager
CUSTOM_SECURITY_MANAGER = CustomSsoSecurityManager
```
+Notice that the redirect URL will be
`https://<superset-webserver>/oauth-authorized/<provider-name>`
+When configuring an OAuth2 authorization provider if needed. For instance, the
redirect URL will
+be `https://<superset-webserver>/oauth-authorized/egaSSO` for the above
configuration.
+
### Feature Flags
To support a diverse set of users, Superset has some features that are not
enabled by default. For