---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Set up OAuth authentication for a clone target

# Set up OAuth authentication for a clone target {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Complete a one-time OAuth setup to register a target instance for cloning. This process generates a Client ID on the target instance and authorizes the connection from the source instance.

## Before you begin

Both the source and target instances must be on Australia Patch 5 or later to use OAuth target authentication.

Roles required:
{#setup-clone-oauth__setup-clone-oauth-prereq__entry__3}

| Instance | Initial OAuth setup | Subsequent clone operations |
|-|-|-|
| Source | clone_admin, oauth_admin | clone_admin, oauth_user |
| Target | clone_admin, oauth_admin | Not required |
[Table 1. Roles by instance and operation phase]

Note:  
The oauth_admin role is required on both instances only to complete the one-time OAuth provider creation. Users who submit clone operations after setup is complete need the oauth_user role on the source instance instead.

## Procedure

1. Navigate to AllClone Admin ConsoleClone Home.
2. Navigate to ConfigurationClone instances.
3. Select New.
4. In the Target Instance field, enter the target instance URL and select Continue.  
   The system runs a version compatibility check.
   If the target instance doesn't support OAuth, the system falls back to basic authentication. See [Configure basic authentication fallback for clone targets](https://www.servicenow.com/docs/0WkpF66eh~lFhofTEoTMOw#basic-auth-fallback-clone "Configure the target instance user for basic authentication when the target instance does not support OAuth authentication.") for configuration steps.
5. Select Setup OAuth on Target.  
   The target instance opens in a new browser tab.
6. On the OAuth setup page, select Set up OAuth.  
   The page generates a Client ID.

   If the Client ID is not generated, the OAuth provider creation may have failed. This occurs when the user performing the setup does not have the oauth_admin role on the target instance. Without this role, the system
   can't create the OAuth provider record and returns an authorization error.

   To resolve this, verify that the user has the oauth_admin role on the target instance, then reload the OAuth setup page and select Set up OAuth again.
7. Copy the Client ID.
8. Return to the source instance browser tab.
9. In the Client ID field on the Add Clone Target form, paste the Client ID.
10. Select Add Target.  
    The browser redirects to the target instance to complete authorization.
11. Select Allow to grant consent.  
    If your session has expired, log in to the target instance before granting consent.  
    The browser redirects to the source instance.
    If the browser doesn't redirect to the source instance, return to the Clone Admin Console and select Reset OAuth or Retry to restart the authorization.

## Result

The target instance is registered and authorized for clone requests.

## What to do next

* To submit a clone request to the new target, see [Request a clone](https://www.servicenow.com/docs/ymkYh7BFBWDS97Ka4LEGqw#t_StartAClone "Request a clone to copy data from a production instance to a non-production instance or to copy data between non-production instances.").
* To reset or re-authorize OAuth for this target, see [Reset OAuth for a clone target](https://www.servicenow.com/docs/Vu3EyMhFfgaFG3QKO~xMIA "Reset OAuth authentication for a clone target if you receive an authentication error on the clone request form.").
{#setup-clone-oauth__ul_gcn_sg3_jkc}

## Configure basic authentication fallback for clone targets {#ariaid-title2}

Configure the target instance user for basic authentication when the target instance does not support OAuth authentication.

### Before you begin

Role required: clone_admin

### About this task

Basic authentication requires specific role and identity configuration on the target instance user record.{#basic-auth-fallback-clone__basic-auth-fallback-clone-context-1}

### Procedure

1. On the target instance, verify that the user has the clone_admin role and the soap role.
2. On the user record, set identity_type to machine.  
   Warning:  
   The identity_type field may not appear on the User form by default. If it isn't visible, add it temporarily using Form Layout. Users with identity_type set to machine can no longer log in to the instance UI. This configuration supports Basic Auth for automated and integration traffic only.

### Result

The target instance is configured for basic authentication. Clone operations can proceed using Basic Auth for automated and integration traffic.
**Related reference**   

* [Troubleshooting for registering target instance](https://www.servicenow.com/docs/a5dxcvEQ4V9Fr6SX3FkWxQ "A reference topic that includes troubleshooting to try to resolve errors that occur while registering a target instance.")

*[\>]: and then


