Migrate users external_identity_provider property

We would to modify our identity provider, and keep all users in database.
I read the " Migrate users to a new authentication method " in this documentation page.

However, with proper database access, it is possible to run a simple command like
update users set external_identity_provider='new' where external_identity_provider='old';

Is it a safe way to do this, or should we definitely use the api/users/update_identity_provider web API?


Hi, you should consider the SonarQube database as a black box and never try to run queries on it.

The migrate user API is specifically designed for your need, you can safely use it.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.