Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add new provider for django-allauth?

I'd like to extend django-allauth to include other third party OAuth providers (e.g., SurveyMonkey, Qualtrics, etc). I haven't been able to find a good tutorial on how to extend django-allauth. Does anyone have any recommendations for how to get started, which classes to write, and how to format/customize URLs for the OAuth flow?

I am already using it to authenticate using Google and Twitter, but I'm finding that many of my users already have accounts on other services that would be more compelling for our use case. Any pointers here would be greatly appreciated!

like image 847
dino Avatar asked Nov 08 '22 08:11

dino


1 Answers

You can take a look at this PR, it is adding slack as an OAuth provider.

https://github.com/pennersr/django-allauth/pull/1410/files

like image 189
cgl Avatar answered Jan 04 '23 01:01

cgl