I'm setting up a new API using Django REST Framework, and I'm a bit confused how to set up authentication. The API I'm setting up is consumed by the public, whom I want to have the most flexibility possible.
Out of the box, DRF provides Basic Authentication, Session Authentication and Token Authentication. Using another package, you can also add OAuth2 authentication.
If I set up my API to have Token Authentication -- which is included out of the box -- why do I need to set up OAuth2? I've read a bit about this, but since DRF's Token Auth is fairly custom, I haven't been able to find much comparing the two approaches.
From what I can tell, OAuth is just an advanced form of Token Auth, so why bother installing and configuring it?