TypeError at /complete/auth0 a bytes-like object is required, not 'str'

Hi, did anyone face this error while using auth0 with Django?

Request Method: GET Request URL: http://127.0.0.1:3000/complete/auth0?code=8ARLy14sDGNqfzTX&state=ki4XrKbrf6MmMAWi48OxUVJgI2Zrg67B

Django Version: 2.2.12
Exception Type: TypeError
Exception Value: a bytes-like object is required, not ‘str’ Exception
Location: home/sarthak/Projects/automated_video_interview/venv/lib/python3.5/site-packages/jose/jws.py in _get_keys, line 233

Hi @sarthakagarwal007,

Welcome to the Community! I apologize for the delayed response.

Were you able to figure this out? If not, please provide us with some code so we can take a look at what is going on. If you are using a quickstart or sample app please let us know which one.

Thanks,
Dan