Compliance with rfc6749. Added backward compatibility with Facebook custom implementation. Simpler and faster flow.

This commit is contained in:
Michele Comitini
2013-01-24 01:42:58 +01:00
parent 2db2737e86
commit a751c0e03a
@@ -167,7 +167,8 @@ server for requests. It can be used for the optional"scope" parameters for Face
tmp = e.read()
raise Exception(tmp)
finally:
del current.session.code # throw it away
if current.session.code:
del current.session.code # throw it away
if open_url:
try: