English 中文(简体)
Postman - OAuth 2.0 Authorization
  • 时间:2024-12-27

Postman - OAuth 2.0 Authorization


Previous Page Next Page  

The OAuth 2.0 is an authorization technique available in Postman. Here, we first obtain a token for accessing the API and then utipse the token to authenticate a request. A token is used to ensure that a user is authorised to access a resource in the server.

If we make an attempt to access a secured URL without the token, a Response code 401 Unauthorized shall be obtained. To start with, the apppcation passes an authorization request for the end user to access a resource.

As the apppcation allows the user access, it asks for an access token from the server by providing user information. In turn, the server yields an access token. The cpent can then access the secured data via the access token.

Advertisements