I am looking for a demo on how to complete oauth in rest framework.
Requirements:
- Token based authentication as this is for an API using Django Rest Framework
- Registration should only allow allow discord provider
- Login endpoint should allow a user to use the discord provider oauth flow again to login.
- Uses django-allauth to allow "connecting" different (non-login) accounts