filmov
tv
[100% Working Demo!!!] HowTo Requesting OAuth2 Access Token Using Postman Tool
Показать описание
A vlog 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 :)
grant_type=password&
username=xybernetics&
password=password123&
client_id=AAAAbbbbCCCCddddEEEEffffGGGGhhhhIIIIjjjj&
client_secret=qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMpoiuytrewqlkjhgfdsamvcxz&
Accept
application/json
Content-Type
application/x-www-form-urlencoded
COMMON QUESTIONS
What is OAuth 2.0 and how it works?
The OAuth (open authorization) protocol was developed by the Internet Engineering Task Force and it lets an application access a resource that is controlled by someone else (end user). To put in basic terms, if you are trying to access Epic webpage (as an example), and you had decided to use your Google account for login (as Oauth2 authorization and validation), your username would be Gmail email address and the password would be your Gmail account password to log into the Epic website.
What is oauth2 used for?
The OAuth 2.0 authorization framework is a protocol that allows a user to grant a third-party web site or application access to the user's protected resources, without necessarily revealing their long-term credentials or even their identity.
What is difference between OAuth and oauth2?
OAuth 1.0 only handled web workflows, but OAuth 2.0 considers non-web clients as well. Better separation of duties.
I am using Django OAuth2 Server.
Below is the sample URL and header I used.... save you typing :)
grant_type=password&
username=xybernetics&
password=password123&
client_id=AAAAbbbbCCCCddddEEEEffffGGGGhhhhIIIIjjjj&
client_secret=qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMpoiuytrewqlkjhgfdsamvcxz&
Accept
application/json
Content-Type
application/x-www-form-urlencoded
COMMON QUESTIONS
What is OAuth 2.0 and how it works?
The OAuth (open authorization) protocol was developed by the Internet Engineering Task Force and it lets an application access a resource that is controlled by someone else (end user). To put in basic terms, if you are trying to access Epic webpage (as an example), and you had decided to use your Google account for login (as Oauth2 authorization and validation), your username would be Gmail email address and the password would be your Gmail account password to log into the Epic website.
What is oauth2 used for?
The OAuth 2.0 authorization framework is a protocol that allows a user to grant a third-party web site or application access to the user's protected resources, without necessarily revealing their long-term credentials or even their identity.
What is difference between OAuth and oauth2?
OAuth 1.0 only handled web workflows, but OAuth 2.0 considers non-web clients as well. Better separation of duties.
Комментарии