Traceback (most recent call last):
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Users\psalt\PycharmProjects\ezd\app\views.py", line 37, in callback_handling
issuer="https://" + 'ksg.eu.auth0.com' + "/")
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\api_jwt.py", line 78, in decode
jwt, key=key, algorithms=algorithms, options=options, **kwargs
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\api_jws.py", line 140, in decode
key, algorithms)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\api_jws.py", line 204, in _verify_signature
key = alg_obj.prepare_key(key)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\algorithms.py", line 207, in prepare_key
key = load_pem_public_key(key, backend=default_backend())
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cryptography\hazmat\primitives\serialization.py", line 24, in load_pem_public_key
return backend.load_pem_public_key(data)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cryptography\hazmat\backends\multibackend.py", line 314, in load_pem_public_key
return b.load_pem_public_key(data)
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 1110, in load_pem_public_key
self._handle_key_loading_error()
File "C:\Users\psalt\AppData\Local\Programs\Python\Python36-32\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 1325, in _handle_key_loading_error
raise ValueError("Could not unserialize key data.")
ValueError: Could not unserialize key data.