Skip to content

Update oidc.md

vimal prakash requested to merge vimalprakashts/gitlab:patch-29 into master

What does this MR do?

Corrected the quote mistake.

Old

gitlab_rails['omniauth_providers'] = [
  { 'name' => 'openid_connect',
    'label' => '<your_oidc_label>',
    'args' => {
      "name' => 'openid_connect',
      'scope' => ['openid','profile'],
      'response_type' => 'code',
      'issuer' => '<your_oidc_url>',
      'discovery' => true,
      'client_auth_method' => 'query',
      'uid_field' => '<uid_field>',
      'client_options' => {
        'identifier' => '<your_oidc_client_id>',
        'secret' => '<your_oidc_client_secret>',
        'redirect_uri' => '<your_gitlab_url>/users/auth/openid_connect/callback'
      }
    }
  }
]

New

gitlab_rails['omniauth_providers'] = [
  { 'name' => 'openid_connect',
    'label' => '<your_oidc_label>',
    'args' => {
      'name' => 'openid_connect',
      'scope' => ['openid','profile'],
      'response_type' => 'code',
      'issuer' => '<your_oidc_url>',
      'discovery' => true,
      'client_auth_method' => 'query',
      'uid_field' => '<uid_field>',
      'client_options' => {
        'identifier' => '<your_oidc_client_id>',
        'secret' => '<your_oidc_client_secret>',
        'redirect_uri' => '<your_gitlab_url>/users/auth/openid_connect/callback'
      }
    }
  }
]

Fix : "name' => 'openid_connect', to 'name' => 'openid_connect',

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports