diff options
author | Vincent Ambo <mail@tazj.in> | 2019-02-13T13·06+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2019-02-13T13·18+0100 |
commit | cc1ee9c81d4f1c8620661cbe5945913e415e218f (patch) | |
tree | 32ffbd376bb92339faf9b9506310fa3e309fed80 /net/alcoholic_jwt/.gitignore | |
parent | 4051fe0ec884a8e49a74191b798845415abe7d33 (diff) |
fix: Allow trailing bits in base64 encodings
After upgrading the base64 library, tests were failing because the new default of the library is to disallow trailing bits in JWTs. Some JWT provider implementations do however use this "forgiving" version of base64-encoding, hence it is required for token validation. This adds a base64::Config with the appropriate settings and also chains base64-errors separately from other token errors.
Diffstat (limited to 'net/alcoholic_jwt/.gitignore')
0 files changed, 0 insertions, 0 deletions