Request core Parcel2Go profile scopes first
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 26s

This commit is contained in:
Hickmeister
2026-10-11 17:42:20 +01:00
parent 1be66f099c
commit 141a1f9379
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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']);