Managing Multiple OAuth Providers in Django/DRF
Let’s say I have two OAuth providers, Google and GitHub with which user can create an account in my Django application. I wrote a custom user model and a custom model for storing OAuth details (provider and user ID from provider etc.).
How can I grant permissions to a client that is not a User in Django?
I have a Django Rest Framework application that has been working well with OIDC auth and human interactions using django-oauth-toolkit.