문제

I'm working on a project that will require user authentication. Currently I'm planning on running the project on GAE. For various reasons I'd rather have my own authentication system rather than use openid or google's built in authentication service. I've looked high and low for a library but can't seem to find anything. I've looked into AuthKit and even found a project called AuthKitGAE https://github.com/Roosmaa/AuthKitGAE; but the the project has almost no documentation and I don't have a ton of experience with Python so having no examples to work off of doesn't help. Do any of you know of any good authentication libraries for GAE or should I just set about trying to write my own?

도움이 되었습니까?

해결책

If you are ready to use django as a framework, you may get the django's auth system to work in it using django-nonrel:

http://www.allbuttonspressed.com/projects/djangoappengine. They are working hard to get support for non relational databases like app engine's in django. I have actually tried this to host my django based website. It really works.

They have generated support for most of django features except for some.

다른 팁

If you use Django in GAE you can write your own auth system.

If you are OK with using a third-party framework, instead of webapp, tipfy has some good extensions. For authentication, check tipfy.ext.auth. The documentation looks good.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top