Skip to main content

ftw.oidcauth

A PAS plugin for authentication of users in Plone using OIDC.

Installation

Add the package to your instance eggs like:

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

Introduction

The OIDC Plone PAS plugin can be added in acl_users/manage_main. After adding a new Plugin it will be listed there and can be configured in detail.

OIDC Authorization Flow

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

Configuration

Once a plugin was added it can be configured by clicking on the plugin in acl_users/manage_main.

Configuration: general configurations (oidc routes, secret…)
Users: manage users within this PAS plugin
Activate: select plugins implemented by the plugin

Don’t forget to add the plugin as the first to be challenged:

  • go to route: http://localhost:8080/Plone/acl_users/plugins/manage_plugins

  • go to Challenge Plugins

  • activate your freshly added plugin and move to the top

Properties Mapping holds the information how to map userinformation. It has to be valid json like:

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

The Properties Mapping must contain the Plone property userid.

Changelog

1.0.2 (2020-09-07)

  • Fix next URL. [buchi]

  • Fix empty roles. [buchi]

1.0.1 (2020-07-28)

  • Fix unicode error. [busykoala]

1.0.0 (2020-07-24)

  • Initial release

Release files for ftw.oidcauth 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftw.oidcauth 1.0.2
File Size Uploaded
ftw.oidcauth-1.0.2.tar.gz 21.4 kB Details

Release files / ftw.oidcauth-1.0.2.tar.gz

Download URL ftw.oidcauth-1.0.2.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ee1169cf2a67aee81fbb0ba848bac9928618ca9d61b32e074e54daf7ac8a70c0
BLAKE2b-256 checksum
How to use checksums
a1461adc7ab6e5b0facc2afa6db50145814ab83e6bd2d0bba0c8c232c7aae101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page