Skip to content

Commit d2c57c7

Browse files
committed
Updated password client to not use client secret in token request
1 parent 2b568a5 commit d2c57c7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/Feature/OAuthControllerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public function test_it_can_generate_a_password_grant_access_token_for_an_admin(
4646

4747
$this->json('post', '/oauth/token', [
4848
'client_id' => $client->id,
49-
'client_secret' => $client->plainSecret,
5049
'grant_type' => 'password',
5150
'username' => $user->email,
5251
'password' => 'password',
@@ -74,7 +73,6 @@ public function test_it_wont_grant_a_password_access_token_for_an_admin_with_inc
7473

7574
$this->json('post', '/oauth/token', [
7675
'client_id' => $client->id,
77-
'client_secret' => $client->plainSecret,
7876
'grant_type' => 'password',
7977
'username' => $user->email,
8078
'password' => 'wrong password',

0 commit comments

Comments
 (0)