Github oauth, rest api

Hello, I’m developing a service using GitHub oauth.

[Sign in to GitHub · GitHub]

When requested with the URL above, the web browser shows the page where you log in, and when you succeed in logging in, the code value is flown to the url that I set up.

Other than this way, is there a way to get access_token without logging in to the web browser?

For example, if you present your github ID, password, or personal access token, is there a way to get access_token answered?