Odd one I realise but has anyone used the functionality of AllAuth Social for already logged in users?
I'm using AllAuth it in a project that connects users up to other providers to use their APIs. In this instance it's an OAuth1 based service so I made use of AllAuth and hacked together a custom provider for the authorisation part so I could quickly start work on a client component for their API. It worked for my temporary needs but of course expects to be creating a new user rather than just authorising an existing one. I had planned to rework the authorisation component but it may be useful for the future to keep it and allow new users to join and authorise against these providers so my question is; has anyone used it in this way?
In theory it'd just need some kind of - if user.is_authenticated() - skip but I thought I'd see if anyone had tried this and had recommendations before digging too deep into the layers of code in the social part of AllAuth.
Cheers, Nick