Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.01k stars 1.5k forks source link

[SAML2 Plugin] Cannot migrate User to SAML Auth nor delete Actor to start over #3652

Closed cybershaman closed 3 years ago

cybershaman commented 3 years ago

I recently upgraded my PeerTube instance to v3.0.1 and realised there is now a SAML2 plugin available - I'm running LemonLDAP for SSO/SAML purpose.

The instance originally had only 2 users, "root" and my personal user "pete" (both admin users). When I successfully configured SAML2 with PeerTube all my domain's users could SSO into PeerTube and had their respective users created. My personal user "pete" wouldn't become SAML enabled (error "actor already exists" on SAML login attempt)

Things I tried:

I'd be very grateful for any pointers/help. TIA!

rigelk commented 3 years ago

Hi @cybershaman,

Please open this issue directly at the SAML plugin repository: https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-saml2

Chocobozzz commented 3 years ago

Hello,

In fact this is a peertube issue since it's peertube that throws this error. We need to provide a way for admins to update the user auth field to easily change the user auth method.

Chocobozzz commented 3 years ago

Admins can now change the auth plugin in the user update form: https://github.com/Chocobozzz/PeerTube/commit/6d989edc66e7b541fcf97c2a4a6f91cbf960060a