<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Okta ISPM: Token Requirements for GitLab and GitHub Connectors
Okta Classic Engine
Okta Identity Engine
Identity Security Posture Management
Overview

When configuring connectors for Okta Identity Security Posture Management (ISPM), certain third-party integrations require specific token formats and prefixes to authenticate successfully. Using an unsupported token type will result in connection failures.

Connect gitlab

 

Applies To
  • Adding a GitLab Connector
  • Identity Security Posture Management (ISPM)
  • Using a Token for the Connector
  • Okta Classic Engine
  • Okta Identity Engine (OIE)
Cause

The Okta ISPM GitLab connector requires a Personal Access Token with the glpat- prefix.

Solution

How to Generate the Correct GitLab Token:

  1. Log in to the GitLab instance.

  2. Navigate to the User Settings by selecting the username/avatar in the top-right corner.

  3. Click on Preferences.

  4. From the left-hand sidebar, go to Access > Personal access tokens.

  5. Select Add new token (or Legacy Token if specifically required by the instance version).

  6. Configure the Token:

    • Name: Enter a descriptive name (for example, Okta ISPM Connector).

    • Scopes: Select both read_api and read_user.

  7. Click Generate Personal Access Token.

Generate legacy

  1. Copy the token immediately. It will begin with glpat-

your new token has been created

  1. Use this full string in the ISPM connector configuration.

authorization

Similarly, to configure the GitHub connector, navigate to the GitHub developer settings and create a Classic token; verify that the generated string begins with the ghp_ prefix before saving.

 

Reference

Loading
Okta ISPM: Token Requirements for GitLab and GitHub Connectors