Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/account/social/connections/ is'nt working after django_allauth version bump to 0.61.1 #12180

Open
mwallschlaeger opened this issue Apr 23, 2024 · 0 comments · May be fixed by #12169
Open

/account/social/connections/ is'nt working after django_allauth version bump to 0.61.1 #12180

mwallschlaeger opened this issue Apr 23, 2024 · 0 comments · May be fixed by #12169

Comments

@mwallschlaeger
Copy link
Member

Expected Behavior

When configuring SOCIALACCOUNT_PROVIDERS like:

SOCIALACCOUNT_PROVIDERS = {
  "openid_connect": {
    "OAUTH_PKCE_ENABLED": True,
    "APPS": [
      {
        "provider_id": "keycloak-bonares",
        "name": "BonaRes Account",
        "client_id": "geonode-bonares",
        "secret": "",
        "settings": {
            "server_url": "https://keycloak.draven.cluster.zalf.de/realms/bonares-ad/.well-known/openid-configuration",
        }
      }, {
        "provider_id": "keycloak-zalf",
        "name": "ZALF Account",
        "client_id": "geonode-zalf",
        "secret": "",
        "settings": {
          "server_url": "https://keycloak.draven.cluster.zalf.de/realms/zalf-ad/.well-known/openid-configuration",
        },
      },
    ]
  }
}

/account/social/connections/ replies:

<h1>AttributeError
       at /account/social/connections/</h1>
  <pre class="exception_value">'ProviderRegistry' object has no attribute 'get_list'</pre>
  
Request Method: | GET
-- | --
http://localhost:8000/account/social/connections/
4.2.9
AttributeError
'ProviderRegistry' object has no attribute 'get_list'
/usr/src/geonode/geonode/people/templatetags/socialaccount_extra.py, line 21, in get_other_social_providers

related to commit pennersr/django-allauth@cc5279b#diff-ee605cb9f2d85da98c5c99ac2448a760956fd514c657aba5e0196e0e920f5e24 in django_allauth

Specifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant