commit | 5a04578ce4d1b68a63115751aa63c981b6e33d8c | [log] [tgz] |
---|---|---|
author | Jamie Lennox <jamielennox@gmail.com> | Fri Jun 30 10:20:44 2017 +1000 |
committer | Jamie Lennox <jamielennox@gmail.com> | Fri Jun 30 10:20:44 2017 +1000 |
tree | 7fcfecdadf5efd5623e0ac70ba9cb7f021c09d62 | |
parent | 0dbe15993af8359541a6fb19bc5e72797d2e3d42 [diff] |
Convert jwt encode to string for github in python3 The result of a JWT encode() in python3 is a bytes object. When it is then inserted into the bearer string python does the simple encoding and inserts a b'<token>' into the header and so authentication fails. Change-Id: I8f861010ee3b55d1b01e91b9a87812722e0a4f00