GitLab · Example Payload

Gitlab Oauth2 Token Request Example

CodePlatformSoftware DevelopmentSource Control

Gitlab Oauth2 Token Request Example is an example object payload from GitLab, with 10 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

grant_typeclient_idclient_secretcoderedirect_uricode_verifierrefresh_tokendevice_codeusernamepassword

Example Payload

Raw ↑
{
  "grant_type": "authorization_code",
  "client_id": "123456",
  "client_secret": "example_value",
  "code": "example_value",
  "redirect_uri": "example_value",
  "code_verifier": "example_value",
  "refresh_token": "main",
  "device_code": "example_value",
  "username": "Example Project",
  "password": "example_value"
}