# All-auth basic install (for GitHub OAuth) behaves strangely

**URL:** <https://forum.djangoproject.com/t/all-auth-basic-install-for-github-oauth-behaves-strangely/36709>\
**Category:** Mystery Errors\
**Created:** [November 24, 2024, 11:06am UTC](https://forum.djangoproject.com/t/all-auth-basic-install-for-github-oauth-behaves-strangely/36709 "2024-11-24T11:06:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FruitfulApproach](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/fruitfulapproach/32/25373_2.png) [@FruitfulApproach](https://forum.djangoproject.com/u/FruitfulApproach)\
**Post date:** [November 24, 2024, 11:06am UTC](https://forum.djangoproject.com/t/all-auth-basic-install-for-github-oauth-behaves-strangely/36709/1 "2024-11-24T11:06:13Z")

</div>

(No GitHub link shown on the signup page:)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/c/c/ccf8abde5ba08f9c4afba82649a4c8ba1a8233d4.png)

I installed according to these instructions:  
[GitHub Authentication in Django using Django-allauth](https://www.codesnail.com/github-authentication-in-django-using-django-allauth/)

Not sure what could cause this - it’s a blackbox to me right now (AllAuth).

---

<div class="post-metadata">

**Author:** ![FruitfulApproach](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/fruitfulapproach/32/25373_2.png) [@FruitfulApproach](https://forum.djangoproject.com/u/FruitfulApproach)\
**Post date:** [November 24, 2024, 11:16am UTC](https://forum.djangoproject.com/t/all-auth-basic-install-for-github-oauth-behaves-strangely/36709/2 "2024-11-24T11:16:09Z")

</div>

Surprisingly my Wing PRO ide is able to work when I set a breakpoint in the Allauth library. So I will try debugging it.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/b/c/bcf0c2529198fb474f147326afc615a0960384d6.png)

---

<div class="post-metadata">

**Author:** ![FruitfulApproach](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/fruitfulapproach/32/25373_2.png) [@FruitfulApproach](https://forum.djangoproject.com/u/FruitfulApproach)\
**Post date:** [November 24, 2024, 12:00pm UTC](https://forum.djangoproject.com/t/all-auth-basic-install-for-github-oauth-behaves-strangely/36709/3 "2024-11-24T12:00:05Z")

</div>

That digging around helped a lot:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/c/a/ca921ec5f6465fffb34f18166f6a1e6277c2a4d6.png)

Here is the quickfix:

```auto
# Provider specific settings
SOCIALACCOUNT_PROVIDERS = {
    'github': {
        # For each OAuth based provider, either add a ``SocialApp``
        # (``socialaccount`` app) containing the required client
        # credentials, or list them here:
        'APP': {
            'client_id': os.environ['GITHUB_OAUTH_CLIENT_ID'],
            'secret': os.environ['GITHUB_OAUTH_CLIENT_SECRET_KEY'],
            'key': ''
        }
    }
}

```

Doing this on the Admin panel alone like the instructions say, does not seem to work, so perhaps both are needed or perhaps just this alone (in your settings.py)
