PeerTube supports OIDC authentication using the official auth-openid-connect plugin: https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-openid-connect.
Once the plugin is install, to configure OIDC authentication, you should fill the following settings.
{{ url_for("sso.oidc_discovery", service_uuid=service.uuid, _external=True) }}
{{ service.config["client_id"] }}
{{ service.config["client_secret"] }}
openid email profile
preferred_username