Compliance with rfc6749. Added backward compatibility with Facebook custom implementation. Simpler and faster flow.
This commit is contained in:
@@ -167,7 +167,8 @@ server for requests. It can be used for the optional"scope" parameters for Face
|
|||||||
tmp = e.read()
|
tmp = e.read()
|
||||||
raise Exception(tmp)
|
raise Exception(tmp)
|
||||||
finally:
|
finally:
|
||||||
del current.session.code # throw it away
|
if current.session.code:
|
||||||
|
del current.session.code # throw it away
|
||||||
|
|
||||||
if open_url:
|
if open_url:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user