Setting up Rally OAuth 2.0 credentials for DevOps

concept australia Updated Sep 10, 2026 2 min read setting-up-rally-oauth-2-0-credentials-for-devops.md
Raw file servicenow.com

Authenticate a Rally tool connection using OAuth 2.0 credentials.

Configure your Rally account, register Rally in the application registry, and create a credential record for the Rally account.

Parent Topic:Rally integration with DevOps Change Velocity

Register a Rally OAuth application for DevOps

Register a Rally OAuth application for DevOps Change Velocity.

Before you begin

Role required: (In Rally) A user with Rally subscription

Note: If you don't have permission to create OAuth clients, the Create option will be disabled in Rally. Contact your Rally subscription or workspace administrator to have this option enabled for you.

Procedure

  1. Log in to CA Agile Central.

  2. On the page header, select your profile and then select My Settings.

  3. Navigate to Access > OAUTH CLIENTS.

  4. Select Create.

  5. In the dialog box, fill in the fields.

    Field Value
    Application Name Provide a name for the application.
    Callback URL Callback URL of the ServiceNow instance to which the application is to be integrated. For example, https://<instance_url>/oauth_redirect.do.
  6. Select Next.

  7. Copy the Client ID and Client secret for later use.

Register Rally as an OAuth Provider (Authorization Code)

Use the information generated during Rally account configuration to register Rally as an OAuth provider and enable the instance to request OAuth 2.0 tokens.

Before you begin

Role required: admin

Procedure

  1. Navigate to System OAuth > Application Registry.

  2. Select New.

    The system displays the message What kind of OAuth application?

  3. Select Connect to a third party OAuth Provider.

    The system displays an empty Application Registries form.

  4. Complete the form.

Field

Value required

Name

Enter any name to uniquely identify the record. For example, enter DevOps Rally OAuth.

Client ID

Client ID that you copied in the previous procedure.

Client Secret

Client secret that you copied in the previous procedure.

OAuth API script

Select OAuthDevOpsRallyHandler.

Default Grant type

Select Authorization Code.

Authorization URL

Enter https://rally1.rallydev.com/login/oauth2/auth.

Token URL

Enter https://rally1.rallydev.com/login/oauth2/token.

5. Leave the rest of the form fields as default.
  1. Right-click the form header, and select Save.

    The system populates OAuth Entity Profile with Grant Type as Authorization Code. For example, OAuth Entity Profile is created with the default Name, DevOps Rally OAuth default_profile.

  2. Navigate to the OAuth Entity Scopes related list and add alm as the scope.

  3. Right-click the form header, and select Save.

Create a credential record for Rally

Create a credential record for the Rally account previously created to authorize actions.

Before you begin

Role required: admin

Procedure

  1. Navigate to Connections & Credentials > Credentials.

  2. Select New.

    The system displays the message What type of Credentials would you like to create?.

  3. Select OAuth 2.0 Credentials.

    The pop-up window displays the OAuth 2.0 Credentials form.

  4. Fill in these values.

    Field Value required
    Name Enter any name to uniquely identify the record. For example, enter My Rally Account Credential.
    Active Enable
    OAuth Entity Profile Select the default OAuth Entity profile you created previously.
    Applies to Select the MID Servers that can use this credential. For example, select All MID Servers.
    Order Select the order to apply this credential. For example, enter 100.
  5. Save the record.

  6. Select the Get OAuth Token related link to generate the OAuth token.

    A successful token generation indicates that you can now authenticate connection between ServiceNow DevOps and Rally via OAuth 2.0.

Search documentation
Search document titles and file paths on the australia branch