Talking to an Authentication Server

Posted by Kyle Terry on Stack Overflow See other posts from Stack Overflow or by Kyle Terry
Published on 2010-06-06T23:14:14Z Indexed on 2010/06/06 23:22 UTC
Read the original article Hit count: 340

Filed under:
|
|

I'm building my startup and I'm thinking ahead for shared use of services.

So far I want to allow people who have a user account on one app to be able to use the same user account on another app. This means I will have to build an authentication server.

I would like some opinions on how to allow an app to talk to the authentication server. Should I use curl? Should I use Python's http libs? All the code will be in Python.

All it's going to do is ask the authentication server if the person is allowed to use that app and the auth server will return a JSON user object. All authorization (roles and resources) will be app independent, so this app will not have to handle that.

Sorry if this seems a bit newbish; this is the first time I have separated authentication from the actual application.

© Stack Overflow or respective owner

Related posts about python

Related posts about authentication