frog32 / django-admin-sso

Single Sign On solution für the django admin wich authenticates users via an openid
BSD 3-Clause "New" or "Revised" License
34 stars 20 forks source link

Support Python 3 [Blocked by OpenID bug] #12

Closed adam-thomas closed 8 years ago

adam-thomas commented 10 years ago

It would be excellent if django-admin-sso supported both Python 2 and 3. This pull request should do that. It's been functionally tested on a locally deployed Python 3 Django project (as well as in Travis on a variety of Django and Python distributions) and seems to do the job.

frog32 commented 10 years ago

Can you please remove commit 3cff62f, this is somehow obsolete since i have added the coveralls badge.

adam-thomas commented 10 years ago

@frog32 done!

adam-thomas commented 10 years ago

@frog32 makes sense, thanks - fixed :)

adam-thomas commented 10 years ago

Bad news: This is blocked by https://github.com/openid/python-openid/issues/17.

I will leave the branch intact in case the OpenID issue is fixed; I've left a comment there reporting that we've encountered this problem.

frog32 commented 10 years ago

PickleSerializer only is a security hole if you use cookie session backend and even then you need the secret key of you django installation to exploit it. I agree that it's not a good idea to rely on PickleSerializer and needs to change as soon as possible.

matthiask commented 10 years ago

Shouldn't this pull request be closed now that django-admin-sso uses OAuth2, not OpenID anyway?

meshy commented 10 years ago

Shouldn't this pull request be closed now that django-admin-sso uses OAuth2, not OpenID anyway?

Perhaps this is no longer blocked by OpenID, but the need for Python 3 support still stands.

adam-thomas commented 8 years ago

Closing this since the replacement fork at https://github.com/matthiask/django-admin-sso supports Python 3.

matthiask commented 8 years ago

Thanks!