Changing local users to external
We have an XByK site whose admin uses the normal forms method to authenticate users. Our client has asked that we transition to their SSO solution going forward. The integration to that solution was straightforward, and they plan to provide accounts for those of us who are external.
Our problem is that there are a number of users already in the system who should be logging in via SSO. Since they already have accounts with their corporate emails, they get errors if they try to log in via SSO. We're just running in mixed Forms/SSO mode for now, but they've made clear that's not ideal going forward.
I'm trying to figure out how to update the user accounts in our system so that they'll cleanly map to the new external accounts. In K13 this was easy to do via the admin: change the username and click the "external" box. In XByK, though, the user names are read-only and the external option isn't available.
We don't want to delete and re-create users since we'll lose change history for content items. I did figure out how to update the users in the database, so I could presumably write a one-off migration for it. That's not ideal, though, because I won't know if it works until we deploy as we're using the SaaS platform.
Is there any way to handle this more elegantly? We don't currently synchronize users via CI/CD, so maybe there's an option there? Or some straightforward way to extend the admin interface to allow me to manually make the change as in K13?
Environment
Xperience by Kentico version: 30.8.3
.NET version: 8
Execution environment: SaaS
Link to relevant Xperience by Kentico documentation
Answers
When we added SSO to our site, we had to delete the users and have the SSO recreate them. We also found that if you restore a db from say prod back to dev to re-sync them, the external users created on prod with the same SSO, do not work unless you delete them and have the sign back in. Super weird since they have the same permission groups. Haven't had a chance to really look into how the users work in XbyK vs how they were in K13 and below.
To answer this question, you have to login first.