Ask Your Question
1

Facebook Login Error Assert access-token is none.

asked 2017-05-16 08:14:55 -0600

dhluong90 gravatar image

it seems everything is configured perfectly. But I wonder why they can't get access-token. I got warning from sanction library:

warn('sanction.client.Client is deprecated, please use sanction.Client')
it seems our code is out up date.
AssertionError at /account/signin/complete-oauth2/
No exception message supplied
Request Method: GET
Request URL:     /account/signin/complete-oauth2/?code=AQCZs-Vol2DIevS-AeV3nmzNycUj75rdqpg9bvK7fNqrxtYRzRPVJNWxpZztPXZorqg8wfutFJ_tFuskis1mnazVWw
Django Version: 1.8.18
Exception Type: AssertionError
Exception Location: /Users/dhluong/mylab/aenv/lib/python2.7/site-packages/sanction/client.py in request_token, line 126
Python Executable:  /Users/dhluong/mylab/aenv/bin/python
Python Version: 2.7.10
Python Path:    
['/Users/dhluong/mylab/adsbasics',
 '/Users/dhluong/mylab/aenv/lib/python27.zip',
 '/Users/dhluong/mylab/aenv/lib/python2.7',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-darwin',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-mac',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/dhluong/mylab/aenv/Extras/lib/python',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-tk',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-old',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-dynload',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/dhluong/mylab/aenv/lib/python2.7/site-packages',
 '/Users/dhluong/mylab',
 '/Users/dhluong/mylab/aenv/lib/python2.7/site-packages/askbot/deps']
Server time:    Tue, 16 May 2017 08:09:46 -0500
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-13 04:33:02 -0600

It seems like incorrect Token please issue new Facebook token for you and update the new token form your askbot settings panel More info about facebook tokens can be found on official facebook website

https://developers.facebook.com/docs/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-05-16 08:14:55 -0600

Seen: 308 times

Last updated: Jun 13 '17