peertube-theme-nctv-dark/peertube-plugin-auth-saml2
Chocobozzz 07fa3d9a2e
Fix SAML signature
2020-05-04 15:34:58 +02:00
..
README.md Fix SAML signature 2020-05-04 15:34:58 +02:00
main.js Fix SAML signature 2020-05-04 15:34:58 +02:00
package-lock.json Add saml2 auth support 2020-05-04 14:11:07 +02:00
package.json Add saml2 auth support 2020-05-04 14:11:07 +02:00

README.md

SAML2 auth plugin for PeerTube

Add SAML2 support to login form in PeerTube.

Keycloak example

Signature

If you want to sign get requests:

  • Generate a certificate and private key: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
  • Import cert.pem in keycloak SAML client
  • Copy cert.pem and key.pem in PeerTube SAML plugin settings
  • Check the Sign get request checkbox in PeerTube SAML plugin settings

Provider certificate

You can find the public key on: http://keycloak.example.com/auth/realms/{realm}/protocol/saml/descriptor.