I'm running Django 3.1 and social-auth-app-django 3.1.0 so I can authenticate against MediaWiki. Everything works, but want to start moving toward more modern releases. If I upgrade social-auth-app-django to anything newer, I get an exception in the authentication flow:
Direct assignment to the forward side of a many-to-many set is prohibited. Use groups.set() instead.
Has anybody else seen this problem?
It looks like this was first reported about 18 months ago https://github.com/python-social-auth/social-app-django/issues/256, with no response to the issue. I fear that the whole python-social-auth project is close to abandoned. There's been a total of 4 commits in the last 6 months. Unfortunately, I'm not aware of any viable alternative.
I was looking at this a couple months back, and ended up writing the oauth dance myself:
https://github.com/david-caro/wm-what/blob/main/wm_what/app.py#L162
Seemed simpler given the lack of maintenance, and given that I just needed a very simple integration (using flask though).
On 02/11 22:23, Roy Smith wrote:
I'm running Django 3.1 and social-auth-app-django 3.1.0 so I can authenticate against MediaWiki. Everything works, but want to start moving toward more modern releases. If I upgrade social-auth-app-django to anything newer, I get an exception in the authentication flow:
Direct assignment to the forward side of a many-to-many set is prohibited. Use groups.set() instead.
Has anybody else seen this problem?
It looks like this was first reported about 18 months ago https://github.com/python-social-auth/social-app-django/issues/256, with no response to the issue. I fear that the whole python-social-auth project is close to abandoned. There's been a total of 4 commits in the last 6 months. Unfortunately, I'm not aware of any viable alternative.
Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/