omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Allow for per provider pipelines #1016

Closed keattang closed 7 years ago

keattang commented 8 years ago

Hi,

I'm looking to customise my pipeline such that each provider has a slightly different pipeline. Rather than throwing in a bunch of if statements everywhere I thought it would be much better to be able to define a pipeline per provider.

For example SOCIAL_AUTH_PIPELINE would be the default pipeline which could be overridden by SOCIAL_AUTH_GOOGLE_OAUTH2_PIPELINE.

I'm happy to make a pull request for this if it is something that you would consider merging? Ideally I'd like to see it released fairly soon so that I can take advantage of it in my current project.

omab commented 7 years ago

This got merged.

keattang commented 7 years ago

Thanks!