peertube-plugin-auth-saml2 did not provide a valid username
I'm currently setting up SAML with g suite by following the tutorial at https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-plugin-auth-saml2 When I now want to login using SAML I get a generic error from the peertube website and the logs show
peertube_1 | [peertube.domain.tld:443] 2021-08-22 14:11:43.084 error: Auth method saml2 of plugin peertube-plugin-auth-saml2 did not provide a valid username. {
peertube_1 | "username": ""
peertube_1 | }
Does someone know what causes the issue?