Custom authentication in Google App Engine

前端 未结 10 799
深忆病人
深忆病人 2020-12-02 05:20

Does anyone know or know of somewhere I can learn how to create a custom authentication process using Python and Google App Engine?

I don\'t want to use Google accou

10条回答
  •  时光取名叫无心
    2020-12-02 05:57

    I saw that this pops up in google, every time you search "Custom login in app engine" so I decided to give an answer that has been serving me. Here is sample application https://github.com/fredrikbonander/Webapp2-Sample-Applications

    This uses

    1. webapp2 (already in GAE 1.6.2)
    2. Jinja2 (already in GAE 1.6.2)

    Webapp2 seems to be the best bet for GAE (built on top of webapp hence future proof) so authentication using framework natively supported by GAE is a good idea. There are many other frameworks but a lot of hacking has to be done on the users part to make them work. For people who want to build a "Stable" site, such hack work is extremely undesirable.

    I also realize that SQL support for GAE is there now and django will be supported natively. We all know django has built in user authentication system. Although, I think, especially in the cloud world NoSQL is the future. I am sure there will be a framework as good as django in the future for NoSQL. But thats me, your requirement might demand something else.

提交回复
热议问题