1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00
This commit is contained in:
Matej Bačo 2022-06-10 12:05:16 +00:00
parent 116e51b006
commit 3abd177fc4

View file

@ -61,7 +61,7 @@ class Gitlab extends OAuth2
$this->getEndpoint() . '/oauth/token?' . \http_build_query([
'code' => $code,
'client_id' => $this->appID,
'client_secret' => $this->appSecret,
'client_secret' => $this->getAppSecret()['clientSecret'],
'redirect_uri' => $this->callback,
'grant_type' => 'authorization_code'
])
@ -83,7 +83,7 @@ class Gitlab extends OAuth2
$this->getEndpoint() . '/oauth/token?' . \http_build_query([
'refresh_token' => $refreshToken,
'client_id' => $this->appID,
'client_secret' => $this->appSecret,
'client_secret' => $this->getAppSecret()['clientSecret'],
'grant_type' => 'refresh_token'
])
), true);