A vilog to demonstrate how to request for access token from the OAuth2 server.
I am using Django OAuth2 Server.

Below is the sample URL and header I used…. save you typing 🙂

https://portal.xybernetics.com/o/token/?
grant_type=password&
username=xybernetics&
password=password123&
client_id=AAAAbbbbCCCCddddEEEEffffGGGGhhhhIIIIjjjj&
client_secret=qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMpoiuytrewqlkjhgfdsamvcxz&
redirect_url=https://portal.xybernetics.com/testpg/

Accept
application/json

Content-Type
application/x-www-form-urlencoded