official saml plugin: problem when user already registered
Hello,
PeerTube 2.4 gets confused when trying to log in using SASL2 with an email that has already been registered with PeerTube directly. The identity provider auth works, but PeerTube as a service provider gets confused:
- empty warning message
- returns to a login screen without the saml capability shown
- no successful authentication on the PeerTube/service provider side
I would expect a warning shown to the users, something along the lines of: "Authentication to this PeerTube instance using external identity provider failed for . User name or email address already registered locally. To resolve this issue, please contact the system administrators of this instance and the identity provider."
See also the attached log.
Kind regards,
Mark