I made a plugin for user accounts

111 views
Skip to first unread message

Robert Dodd

unread,
Mar 22, 2014, 6:04:33 PM3/22/14
to ferris-f...@googlegroups.com
I built a plugin for user accounts


Here's what it does:
  • Sign up with email address
  • Email validation required for account activation and changing emails
  • Login with Google, Facebook, Twitter, Yahoo, Github and LinkedIn accounts
The following routes work right out of the box:
  • Login: "/login"
  • Register: "/register"
  • Logout: "/logout"
  • Edit Profile: "/user/edit"
  • Forgot Password: "/user/reset_password"
For security it relies on the following plugins:
Note: I took the code for all these plugins straight out of the GAE Boilerplate projects, and just adapted them into plugins for Ferris.

You can get this plugin here: https://github.com/robertdodd/ferris-users

Jon Wayne Parrott

unread,
Mar 22, 2014, 9:19:06 PM3/22/14
to Robert Dodd, ferris-framework
Awesome! Great work. I'm going to add links to these in the documentation.

Abdullah Okudan

unread,
Aug 16, 2015, 10:24:53 AM8/16/15
to Ferris Framework
Hi Robert,

thank you for great your login plugin. I don't understand how can i fill for default custom creted, modifed fields. By the way how user is administrator.

Abdullah Okudan

unread,
Aug 16, 2015, 1:00:19 PM8/16/15
to Ferris Framework
Hi Robert

How can i fill to created_by and modified_by fileds with your plugin user

class BasicModel(Model):
"""
Adds the common properties created, created_by, modified, and modified_by to :class:`Model`
"""
created = ndb.DateTimeProperty(auto_now_add=True)
created_by = ndb.UserProperty(auto_current_user_add=True)
modified = ndb.DateTimeProperty(auto_now=True)
modified_by = ndb.UserProperty(auto_current_user=True)


On Sunday, March 23, 2014 at 12:04:33 AM UTC+2, Robert Dodd wrote:

Aki Tanaka

unread,
Sep 8, 2015, 12:05:22 AM9/8/15
to Ferris Framework

Thanks for great work.
Will it work with ferris 3 alpha?

Dewey Gaedcke

unread,
Nov 24, 2015, 2:03:00 PM11/24/15
to Ferris Framework
Is this going to work with Ferris3 
Also, I noticed that google offers something similar......
Are these complimentary projects or mutually exclusive??

Thx
D

Ken Kimball

unread,
Nov 24, 2015, 2:19:08 PM11/24/15
to Dewey Gaedcke, Ferris Framework
Hi Dewey,

That plugin is for Ferris2, which is completely different from Ferris3.  They are not compatible.

I haven't used the Identity Toolkit yet, but it looks nice.

Best,

-Ken


=========================
Ken Kimball, Partner, Links Web Design
Reply all
Reply to author
Forward
0 new messages