Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove UTF-8 encoding check in JWEBuilder (#554)
The UTF-8 encoding validation for the payload in the JWEBuilder has been removed. This modification was necessary because the check was unnecessarily restrictive and caused issues in certain use-cases. Now, any string can be used as the payload without throwing an InvalidArgumentException.
- Loading branch information