peertube-theme-nctv-dark/peertube-plugin-auth-saml2/README.md

18 lines
603 B
Markdown
Raw Normal View History

2020-05-04 09:33:05 +00:00
# SAML2 auth plugin for PeerTube
Add SAML2 support to login form in PeerTube.
2020-05-04 13:34:58 +00:00
## 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`.