Comments (6)
any idea to solve it ?
from django-allauth.
Steam change its login method recently, maybe this is a side effect of this
source of the error is that "associations not supported"
from django-allauth.
In debugging I noticed this error in the app.object when the package try to initiate SteamProverOpienId:
AttributeError("Manager isn't accessible via SocialApp instances")
from django-allauth.
I've just tested Steam and it "works-for-me".
Just to be sure, my settings.py
contains:
SOCIALACCOUNT_PROVIDERS = {
"steam": {
"APP": {
"client_id": "123456789",
"secret": "123456789",
}
},
}
INSTALLED_APPS =
...
"allauth.socialaccount.providers.steam"
from django-allauth.
Hi @pennersr. Thank you very much, you save my week, I sucked when I updated the package by forgetting to read the release notes. I haven't seen the breaking changes in the settings configuration (personal note: RTFM!!!). All works fine on my site now except that this errors is back in my vscode terminal during debug despite database reset:
Missing required parameter in response from https://steamcommunity.com/openid/login: ('http://specs.openid.net/auth/2.0', 'assoc_type')
Traceback (most recent call last):
File "/home/negstek/.cache/pypoetry/virtualenvs/django-all-auth-to-steam-83qxtO4Z-py3.11/lib/python3.11/site-packages/openid/message.py", line 481, in getArg
return self.args[args_key]
~~~~~~~~~^^^^^^^^^^
KeyError: ('http://specs.openid.net/auth/2.0', 'assoc_type')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/negstek/.cache/pypoetry/virtualenvs/django-all-auth-to-steam-83qxtO4Z-py3.11/lib/python3.11/site-packages/openid/consumer/consumer.py", line 1286, in _requestAssociation
assoc = self._extractAssociation(response, assoc_session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/negstek/.cache/pypoetry/virtualenvs/django-all-auth-to-steam-83qxtO4Z-py3.11/lib/python3.11/site-packages/openid/consumer/consumer.py", line 1402, in _extractAssociation
assoc_type = assoc_response.getArg(OPENID_NS, 'assoc_type', no_default)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/negstek/.cache/pypoetry/virtualenvs/django-all-auth-to-steam-83qxtO4Z-py3.11/lib/python3.11/site-packages/openid/message.py", line 484, in getArg
raise KeyError((namespace, key))
KeyError: ('http://specs.openid.net/auth/2.0', 'assoc_type')
(the error does not prevent the connection, it still works fine)
Do you think it comes from the openid library, allauth or from my side ?
from django-allauth.
Sorry, the above does not ring a bell...
from django-allauth.
Related Issues (20)
- Django All Auth Force MFA Feature HOT 3
- SAML EntityID can't be used in MS Azure AD / Entra ID SSO HOT 3
- [SAML] SLS required but is optional in SAML spec #3579 HOT 2
- Extra text in `account/email.html` template? HOT 1
- [Models] Modify built-in allauth models other than User? HOT 1
- ACCOUNT_PREVENT_ENUMERATION docs are unclear / confusing HOT 4
- Using SAML inside AWS Cognito - 400: Bad request HOT 1
- Consider removing or fixing SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECT HOT 11
- Azure AD redirect uri swapping protocols HOT 2
- 403 disallowed_useragent ERROR
- consume_or_429 has hardcoded path HOT 3
- ORCID provider: Add SCOPE to limit transferred data HOT 1
- [SAML] Make Service Provider (SP) settings configurable
- Microsoft logins vulnerable to account takeovers via CVE-2023-36871 HOT 1
- The email_confirmed signal not sent when email verified via admin
- AttributeError: 'UserSignUpForm' object has no attribute 'try_save' HOT 1
- Assertion Error for Existing Users After Registering New User with Social Account HOT 2
- LOGIN_ON_EMAIL_CONFIRMATION does not work for users created manually eg. via admin HOT 1
- Google Social Login Error - ImmatureSignatureError: The token is not yet valid (iat)
- [tox] Can't find msgfmt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-allauth.