diff --git a/docs/authn/kerberos.md b/docs/authn/kerberos.md index 30404ce4c..44f486d7b 100644 --- a/docs/authn/kerberos.md +++ b/docs/authn/kerberos.md @@ -1 +1,7 @@ -TODO \ No newline at end of file +

基于Kerberos/Spengo/AD自动登录集成

+ +MaxKey未提供基于Kerberos的认证,但是提供JWT的接入方式,可以通过Kerberos认证完成,然后使用JWT的实现MaxKey的自动登录。 + +建议参考spring-security-kerberos的实现 + +https://github.com/spring-projects/spring-security-kerberos \ No newline at end of file diff --git a/docs/sso/oauth2.md b/docs/sso/oauth2.md index 3ca1e95a4..567932332 100644 --- a/docs/sso/oauth2.md +++ b/docs/sso/oauth2.md @@ -214,7 +214,8 @@ redirect_uri=http://app.maxkey.org/app/callback 成功返回JSON数据,如下:
		
 {
-access_token  :  "token_id"
+access_token  :  "token_id",
+id_token      :  "id_token"
 …
 }
 
diff --git a/docs/sso/oidc.md b/docs/sso/oidc.md index e485e1fc6..510d19b55 100644 --- a/docs/sso/oidc.md +++ b/docs/sso/oidc.md @@ -101,8 +101,8 @@ https://github.com/shimingxy/MaxKey-Demo/tree/master/maxkey-demo-oauth/lib 认证跳转 -https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oauth20index.jsp +https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oidc10index.jsp -获取令牌和用户信息及验证签名 +获取令牌和用户信息及验证签名 (id_token及用户信息) https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oidc10callback.jsp \ No newline at end of file