Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #999 Unify audience claim (aerrasti)
This PR was merged into the 2.x branch. Discussion ---------- Unify audience claim The 'aud' part of the payload is being converted to array, thats why we need to use UnifyAudience claim formatter to create lcobucci token. Before the change: ```json { "iss": "iss", "aud": [ "audience" ], "sub": "sub", } ``` After the change ```json { "iss": "iss", "aud": "audience", "sub": "sub", } ``` Check out the `default` method: https://github.com/lcobucci/jwt/blob/4.2.x/src/Encoding/ChainedFormatter.php :) Commits ------- 666b1ce Unify audience claim
- Loading branch information