Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you develop against OpenID locally

I'm developing a website (in Django) that uses OpenID to authenticate users. As I'm currently only running on my local machine I can't authenticate using one of the OpenID providers on the web. So I figure I need to run a local OpenID server that simply lets me type in a username and then passes that back to my main app.

Does such an OpenID dev server exist? Is this the best way to go about it?

like image 249
d4nt Avatar asked Oct 05 '08 14:10

d4nt


People also ask

Does Google support OpenID?

Google's OAuth 2.0 APIs can be used for both authentication and authorization. This document describes our OAuth 2.0 implementation for authentication, which conforms to the OpenID Connect specification, and is OpenID Certified.

Is OpenID an access control system?

OpenID is a way to use a single set of user credentials to access multiple sites, while OAuth facilitates the authorization of one site to access and use information related to the user's account on another site. Although OAuth is not an authentication protocol, it can be used as part of one.


1 Answers

The libraries at OpenID Enabled ship with examples that are sufficient to run a local test provider. Look in the examples/djopenid/ directory of the python-openid source distribution. Running that will give you an instance of this test provider.

like image 91
keturn Avatar answered Oct 15 '22 10:10

keturn