openhatch / oh-mainline

The code that runs openhatch.org
http://openhatch.org
GNU Affero General Public License v3.0
241 stars 311 forks source link

Support GitHub as a login provider #1240

Open imported-from-roundup opened 10 years ago

imported-from-roundup commented 10 years ago

Comment by paulproteus:

GitHub would be the first of our login providers to use OAuth2, rather than OpenID, so there are going to be some implementation complexities here. But they should be fairly easily handled if we use some third-party Django add-on.


Comment by onceuponatimeforever:

Looks like this 3rd party Django add-on for oauth2 is a feasible solution: https://github.com/evonove/django-oauth-toolkit


Comment by onceuponatimeforever:

I attempted to integrate the django-allauth add-on without success: https://github.com/pennersr/django-allauth Why? Because one of the core Django modules called timezone in allauth requires Django 1.4, while the OH app runs on Django 1.3.


Comment by onceuponatimeforever:

Sadly, both the add-ons that I've looked into require Django 1.4 or higher.

I should make a new ticket to upgrade the whole OH project to the latest stable version of Django, which is currently at version 1.6.


Comment by paulproteus:

Oh, interesting.

Then we should upgrade to 1.4!


Status: chatting Nosy List: onceuponatimeforever, paulproteus Priority: feature Imported from roundup ID: 925 (view archived page) Last modified: 2014-02-03.06:51:23

ehashman commented 10 years ago

787 is a duplicate. I'm going to close that one, however, as this issue has more detail.

vipul-sharma20 commented 9 years ago

can I work on this feature is it still required ?

paulproteus commented 9 years ago

It would be great to have this.

Note that I think our existing authentication toolkit, django_authopenid, doesn't support github.

pdurbin commented 9 years ago

1014 talks about switching away from django_authopenid to something that's maintained.

xan2622 commented 8 years ago

I second this idea : please add GitHub as a login provider.

After all, many open-source projects are hosted on Github, many open-source developers use github daily... it makes sense to support it. I am almost surprised it's not already currently implemented.