cloudpre
cloudpre

Reputation: 1001

Add own authentication to UserService for AppEngine

I am using UserService to allow my users to register and login.

We find that users for some reason would like to create a login on our own site without using their existing credentials.

I know UserService supports Google Friend Authentication and we can use Yahoo & other openids. However, I would like to know if we can add our authentication mechanism without becoming implementing as an open-id provider/producer.

If becoming a openid provider is only viable option, are there any recommended libraries for AppEngine.

Thanks.

Upvotes: 1

Views: 339

Answers (1)

Nick Johnson
Nick Johnson

Reputation: 101139

How you do this depends entirely on how you've built your authorization system. Using the Users API directly, your only options are to use OpenID or Google Accounts (and only one per app, at any one time, not both). If you want more flexibility, you will need to build your own authorization subsystem, or use an existing one, which abstracts away different auth providers. See, for instance, webapp2's auth module.

Upvotes: 2

Related Questions