Giter VIP home page Giter VIP logo

zeepool's People

Contributors

axacheng avatar

Watchers

James Cloos avatar

zeepool's Issues

OpenID and OAuth users making Creator entry duplicated...

Login username should add @[$ACCOUNT_PROVIDER_NAME] 

We should figure out a way to avoid username duplication.
For example: My Google account for our system word creation is 'Axa Cheng'. 
However, my Facebook account also call 'Axa Cheng' after I logged in our system.
It'd cause db.Words.Creator misleading, and entry duplicated problem....

So, probably we could use this format to identify each of them for three 
different users ....
Axa Cheng@Google
Axa Cheng@Facebook
Axa Cheng@WeiBo

Or, we should redesign db.Words.Creator column to make it as ReferenceProperty??

Original issue reported on code.google.com by [email protected] on 8 May 2012 at 5:50

Weibo cookie needs to be correcting.

What steps will reproduce the problem?
1. Click Weibo login icon, then it'd go through OAuth2.0 protocol to get user's 
access token. 
2. Once we got access token, then we'd set cookie on client browser as 
'weibo_user'
3. But our home.py login UserLoginHandler() method can't get cookie correctly, 
so user would get :

Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/zeepooling/10.358739907108598800/weibo_oauth_v2.py", line 124, in get
    expires=time.time() + 30 * 86400)
  File "/base/data/home/apps/zeepooling/10.358739907108598800/weibo_oauth_v2.py", line 150, in set_cookie
    response.headers._headers.append(("Set-Cookie", cookie.output()[12:]))
  File "/base/data/home/apps/zeepooling/10.358739907108598800/weibo.py", line 47, in __getattr__
    return self[attr]
KeyError: 'headers'


We should fix BaseHandler() at weibo_oauth_v2.py .

Original issue reported on code.google.com by [email protected] on 7 May 2012 at 5:58

oauth support

http://code.google.com/appengine/docs/python/oauth/overview.html#OAuth_and_App_E
ngine

http://practicalappengine.blogspot.com/2010/07/openid.html

Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 7:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.