In python social auth library:
I am making a social auth for my django project. I want to disable social auth for admin. how it works by default:
- social auth url is visited and permissions granted
- new
Python Social Auth › User social auths
object is created for Admin - this social account logs in admin
How I want it to work:
- social auth url is visited and permissions granted
- new
Python Social Auth › User social auths
object is created along with new regular user, as if admin was not logged in - this social account logs in a regular user
Is there an elegant way of doing this? Overriding the least amount of pipeline functions as possible.