I am building an app to access Github api in python using django. I am new to this building this kind of app for the first time. I specified an link to get the access of a user's account like this
<a href="https://github.com/login/oauth/authorize?client_id=something&scope=something,something"></a>
Now I can access the user's account. Now the problem is, I want to use oauth2 so that it doesn't ask for username and password for each request.
my question is how to get the access_token and where to store it. How to pass post parameter of POST https://github.com/login/oauth/access_token such as client_id, scope, code in my django view. And how to link different access for different user. Please help me. I am having problem in getting the basics right.