This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 8dcb2dbe Add notes for SSO login (#283)
8dcb2dbe is described below
commit 8dcb2dbed7953c0e7b3ca0518739f7ce6ea5d2f7
Author: Leomax_Sun <[email protected]>
AuthorDate: Thu Nov 2 14:17:22 2023 +0800
Add notes for SSO login (#283)
---
docs/user-guide/10-SSO.md | 6 ++++--
.../docusaurus-plugin-content-docs/current/user-guide/10-SSO.md | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/docs/user-guide/10-SSO.md b/docs/user-guide/10-SSO.md
index a363e11d..5cabaa7f 100644
--- a/docs/user-guide/10-SSO.md
+++ b/docs/user-guide/10-SSO.md
@@ -35,7 +35,7 @@ sso:
enable: true
```
-- Select preferred 3rd party login approch, such as Github or Google auth, and
fill in the `application-sso.yml` config as below:
+- Select preferred 3rd party login approch, such as Github or Google auth,
refer to the [pac4j configuration
guide](https://github.com/pac4j/pac4j/blob/master/documentation/docs/config-module.md)
for more parameter setting details, and fill in the `application-sso.yml`
config as below:
```
pac4j:
callbackUrl: http://localhost:10000/callback
@@ -64,7 +64,9 @@ pac4j:
<img src="/doc/image/sso/login-success-redirect.png"/><br></br>
## Note
-Currently we only support `OAuth` and `OpenID Connect (OIDC)` as normal
supported login approch, if you need to support `Saml`, or `CAS`, please go to
the `streampark-console/streampark-console-service/pom.xml`, change to include
them in the below dependency:
+- After new users loggining via SSO, their account will be added into
streampark automatically at the backend. But admin still need to add the user
under proper group manually, otherwise new user still cannot direct to the
landing page after successful login.
+
+- Currently we only support `OAuth` and `OpenID Connect (OIDC)` as normal
supported login approch, if you need to support `Saml`, or `CAS`, please go to
the `streampark-console/streampark-console-service/pom.xml`, change to include
them in the below dependency:
```
<!-- Include pac4j-config/core/oauth/oidc-->
<dependency>
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/10-SSO.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/10-SSO.md
index 4358d75c..9b1990ac 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/10-SSO.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/10-SSO.md
@@ -36,7 +36,7 @@ sso:
enable: true
```
-- 选择第三方方式,例如Github或谷歌登录,填写如下所示的`application-sso.yml`配置:
+-
选择第三方方式,例如Github或谷歌登录,参数设置细节可参照[pac4j配置指引](https://github.com/pac4j/pac4j/blob/master/documentation/docs/config-module.md),
并填写如下所示的`application-sso.yml`配置:
```
pac4j:
callbackUrl: http://localhost:10000/callback
@@ -65,7 +65,9 @@ pac4j:
<img src="/doc/image/sso/login-success-redirect.png"/><br></br>
## 注意事项
-目前我们仅支持`OAuth`和`OpenID Connect
(OIDC)`作为常规支持的登录方式,如果您需要支持`Saml`或`CAS`,请转到`streampark-console/streampark-console-service/pom.xml`,将它们更为包含在依赖当中:
+- 新用户通过SSO登录后,其帐户将自动添加到streampark中。但管理员仍然需要手动将用户添加到适当的组下,否则新用户登录成功后仍然无法定向到登陆页面。
+
+- 目前我们仅支持`OAuth`和`OpenID Connect
(OIDC)`作为常规支持的登录方式,如果您需要支持`Saml`或`CAS`,请转到`streampark-console/streampark-console-service/pom.xml`,将它们更为包含在依赖当中:
```
<!-- Include pac4j-config/core/oauth/oidc-->
<dependency>