跳转到主要内容

Plone使用OIDC进行用户身份验证的PAS插件。

项目描述

ftw.oidcauth

Plone使用OIDC进行用户身份验证的PAS插件。

安装

将包添加到实例eggs中,例如

[instance]
eggs +=
    ...
    ftw.oidcauth

简介

OIDC Plone PAS插件可以在acl_users/manage_main中添加。添加新插件后,它将列在那里,并可以详细配置。

OIDC授权流程

1: Unauthorized User --------redirect--------> Authorization Endpoint
2: Callback View    <--------redirect--------  Authorization Endpoint
3: OIDC Plugin      <-------client call------> Token Endpoint
4: OIDC Plugin      <-------client call------> JWKS Endpoint
5: Validation of Token using the matching JWK
6: OIDC Plugin      <-------client call------> User Info Endpoint
7: Provision user in Plone

配置

添加插件后,可以通过在acl_users/manage_main中点击插件进行配置。

配置: 一般配置(oidc路由、密钥…)
用户: 在此PAS插件中管理用户
激活: 选择由插件实现的插件

别忘了将插件添加为第一个挑战者

  • 转到路由: http://localhost:8080/Plone/acl_users/plugins/manage_plugins

  • 转到Challenge Plugins

  • 激活您刚刚添加的插件,并将其移到顶部

Properties Mapping 包含映射用户信息的信息。它必须是有效的json,如

{
    "plone_property1": "oidc_property1",
    "plone_property2": "oidc_property2",
    ...
}

Properties Mapping 必须包含Plone属性 userid

变更日志

1.0.2 (2020-09-07)

  • 修复next URL。 [buchi]

  • 修复空角色。 [buchi]

1.0.1 (2020-07-28)

  • 修复Unicode错误。 [busykoala]

1.0.0 (2020-07-24)

  • 首次发布

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码分发

ftw.oidcauth-1.0.2.tar.gz (21.4 kB 查看哈希值)

上传时间: 源代码

支持者