You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file "ud330/Lesson2/step6/project.py", /gconnect method need to update login_session['access token'] after line 90: "if stored_access_token is not None and gplus_id == stored_gplus_id:"
#31
Open
chinaq opened this issue
Apr 22, 2016
· 0 comments
in file "ud330/Lesson2/step6/project.py"
/gconnect method
need to update login_session['access token'] after
line 90: "if stored_access_token is not None and gplus_id == stored_gplus_id:"
It is better to add this: login_session['access_token'] = credentials.access_token
without this line of code, when you login again, the new access token will not be registered in session, the expired one is still in session
The text was updated successfully, but these errors were encountered:
in file "ud330/Lesson2/step6/project.py"
/gconnect method
need to update login_session['access token'] after
line 90: "
if stored_access_token is not None and gplus_id == stored_gplus_id:
"It is better to add this:
login_session['access_token'] = credentials.access_token
without this line of code, when you login again, the new access token will not be registered in session, the expired one is still in session
The text was updated successfully, but these errors were encountered: