ARTIFACTORY: How to Migrate from One Authentication Provider to Another Without Losing User Permissions or Causing Downtime

Products
Frog_Artifactory
Content Type
Administration_Platform
AuthorFullName__c
Tomer Avisar
articleNumber
000007225
FirstPublishedDate
2026-11-03T08:00:17Z
lastModifiedDate
2026-11-03

ARTIFACTORY: How to Migrate from One Authentication Provider to Another Without Losing User Permissions or Causing Downtime

Summary
You can move an Artifactory instance from one authentication provider to another, for example Okta to Microsoft Entra ID, without losing users, groups, permissions, API keys or tokens, and without downtime. The condition is that the **username** the new provider returns is identical to the username that already exists in Artifactory.
Run both providers side by side, move users over gradually, and retire the old provider only when everyone has logged in through the new one.


Why the username is the only thing that matters
Adding a second SSO configuration does not merge identities by itself. It only makes the second IdP available for login. An authentication provider and Artifactory do different jobs:
  • The provider authenticates” It proves who is logging in and hands Artifactory a username. It knows nothing about repositories, groups or permissions.
  • Artifactory authorizes: It keeps its own user records, and everything a user is allowed to do is attached to the username on that record: group memberships, permission targets, API keys and access tokens.
This is why the outcome depends entirely on the username:
  • The username does match: The login lands on that record, and everything attached to it applies immediately. The provider changed, but nothing Artifactory stores was touched.
  • The username does not match: Artifactory sees a stranger and treats it as a new user. With Auto Create Artifactory Users enabled, that account is created at first login and receives only the default groups. See Avoiding Duplicate Users When Using Multiple Authentication Providers in Artifactory.
Changing the email address stored on a user does not change this. The email is just a field on the record, not the key that finds it.


Procedure
All steps can be done from the JFrog Platform UI under Administration > Authentication.
  1. Record the current usernames: In Administration > User Management > Users, note the exact username of a few pilot users. This is the value the new provider must return.
  2. Configure the new provider: So the value it uses as the username is identical to the existing one. Add it alongside the existing provider. Do not remove or edit the old one yet, so current users can keep logging in and there is no downtime.
  3. Disable Auto Create Artifactory Users for the pilot: If a username does not match, the login then fails visibly instead of silently creating an empty duplicate.
  4. Pilot with a few users: After each pilot user logs in through the new provider, confirm that the username is unchanged, groups and permissions are still on that user, and no second user was created.
  5. Move the remaining user: Then disable or delete the old provider.
  6. Re-enable Auto Create: Only if your process relies on it.
Before you start, keep at least one internal administrator account that can log in without either provider, and take a system backup.


Verification
All steps can be done from the JFrog Platform UI under Administration > Authentication.
  • A pilot user logs in through the new provider and lands on the original user record.
  • Groups, permission targets, API keys and tokens still work.
  • No second user record exists for the same person.
  • An internal administrator can still log in (where needed).