peertube-theme-nctv-dark/peertube-plugin-auth-openid-connect/README.md
Thorben Günther feeef0ceae
oidc: Add roles claim and bound role
With this you can deny the user from logging in, if a needed group is not
included in the claims.
2021-06-30 16:27:13 +02:00

754 B

OpenID Connect auth plugin for PeerTube

Add OpenID Connect support to login form in PeerTube.

The initial code of this plugin has been developed with the financial support of the "Direction du Numérique pour l'Éducation du Ministère de l'Éducation et de la Jeunesse" (french Ministry of National Education).

Configuration

The callback URL to configure on the OIDC provider side is: /plugins/auth-openid-connect/router/code-cb If you don't specifie a role attribute new users will have a 'User' role by default. If you use this attribute it should hold an integer from this set of values: 0 (Administrator), 1 (Moderator), 2 (User).

With group-property and allowed-group you can allow only a subset of users to login.