Commits

Anonymous committed 9f15be9

Change "callback" to "redirect_uri" per the latest version of the spec:

http://github.com/theRazorBlade/draft-ietf-oauth/blob/master/draft-ietf-oauth.txt

  • Participants
  • Parent commits 4cc1032

Comments (0)

Files changed (1)

File examples/oauth/facebookoauth.py

 class LoginHandler(BaseHandler):
     def get(self):
         verification_code = self.request.get("code")
-        args = dict(client_id=FACEBOOK_APP_ID, callback=self.request.path_url)
+        args = dict(client_id=FACEBOOK_APP_ID, redirect_uri=self.request.path_url)
         if self.request.get("code"):
             args["client_secret"] = FACEBOOK_APP_SECRET
             args["code"] = self.request.get("code")