Log in to forms on github (and other sites as well), simply based on cookies.
Typically, each direct login through a website through a browser is done through a cookie-based system, simply because there is no need to do otherwise.
Bit of theory
Each time you use the website login form, you call an API, not necessarily intended for public use (therefore, the API is private )
When you enter your credentials in the login form and click this login button, your credentials are managed using some code on the server that allows you to authenticate with this website.
There is no need for full OAuth because the website has full control over the authentication mechanism and does not need to be externalized.
Why is OAuth different in this contest?
OAuth is a system designed to distribute the authentication system in different services / applications, even from different providers.
OAuth has several active members:
- customer
- authorization server
- resource provider
In your case, all of these 3 members is the site itself, so there is no need for a decoupling system such as OAuth.
source share