Kinto / kinto-fxa

Firefox Accounts authentication support in Kinto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FxA Expecting string or buffer

Natim opened this issue · comments

  File "~/venvs/kinto/local/lib/python2.7/site-packages/cliquet_fxa/authentication.py", line 82, in _get_credentials
    profile = auth_client.verify_token(token=auth, scope=scope)
  File "~/venvs/kinto/local/lib/python2.7/site-packages/fxa/oauth.py", line 201, in verify_token
    resp = json.loads(resp)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer;