geonode
geonode copied to clipboard
/account/social/connections/ is'nt working after django_allauth version bump to 0.61.1
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 https://github.com/pennersr/django-allauth/commit/cc5279bb61dba9cf0fafb10f4ae175c018749f1f#diff-ee605cb9f2d85da98c5c99ac2448a760956fd514c657aba5e0196e0e920f5e24 in django_allauth
Specifications
- GeoNode version: 4.2.3
- Installation type (vanilla, geonode-project):
- Installation method (manual, docker): all
- Platform: all
- Additional details: related to https://github.com/GeoNode/geonode/issues/12167 and https://github.com/GeoNode/geonode/pull/12169