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/


-- 
David Caro
SRE - Cloud Services
Wikimedia Foundation <https://wikimediafoundation.org/>
PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3

"Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to