Как обрабатывать несколько ClientId для одного поставщика социальных аутентификаторов
I am trying to implement social auth for my backend that will serve mobile apps on different platforms (IOS, Android). I am using django-allauth.socialaccounts
to accomplish the task. The problem is that for ex Google requires to have an OAuth client ID per each platform. That said I cannot create multiple social apps with the same provider because I am starting to get MultipleInstancesReturned error.
I am thinking about attaching different Site
instances to the applications, but not sure if sites
framework is good for distinguishing mobile platforms.
В итоге вопрос довольно простой - как реализовать социальный логин, имея более 1 клиентского id для провайдера?