mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Replace custom aud and ely-scopes JWT claims with its public analogues
This commit is contained in:
@@ -24,7 +24,7 @@ class AccessTokenEntityTest extends TestCase {
|
||||
|
||||
$token = (string)$entity;
|
||||
$payloads = json_decode(base64_decode(explode('.', $token)[1]), true);
|
||||
$this->assertSame('first,second', $payloads['ely-scopes']);
|
||||
$this->assertSame('first second', $payloads['scope']);
|
||||
}
|
||||
|
||||
private function createScopeEntity(string $id): ScopeEntityInterface {
|
||||
|
Reference in New Issue
Block a user