Request core Parcel2Go profile scopes first
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 26s
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 26s
This commit is contained in:
@@ -36,7 +36,7 @@ class Parcel2GoOAuthTest extends TestCase
|
||||
$this->assertSame('https://auth.example.test/connect/authorize', strtok($response->headers->get('Location'), '?'));
|
||||
$this->assertSame('profile-client', $query['client_id']);
|
||||
$this->assertSame(route('parcel2go.callback'), $query['redirect_uri']);
|
||||
$this->assertSame('public-api my-profile offline_access', $query['scope']);
|
||||
$this->assertSame('public-api my-profile', $query['scope']);
|
||||
$this->assertSame('S256', $query['code_challenge_method']);
|
||||
$this->assertSame($pending['state'], $query['state']);
|
||||
$this->assertSame(rtrim(strtr(base64_encode(hash('sha256', $pending['verifier'], true)), '+/', '-_'), '='), $query['code_challenge']);
|
||||
|
||||
Reference in New Issue
Block a user