OAuth 2.0 is a popular authorisation protocol that allows users to grant third-party applications access to their resources without revealing their usernames or passwords. It's a standard for secure access to APIs and is widely used for online authorisation.
There are a few key components:
Client Application: This is the application that sends a request to a protected resource Resource Owner: The user who authorises an application to access their account and grants access Resource Server: This hosts the protected resource Authorisation Server: The server that authenticates the user and issues access tokens (e.g. DualShield Authentication Server) |
The Client Application requests access to a resource. A Resource Owner gives permission in the form of an authorisation grant which is sent back to the client.
The client then sends the grant to the Authorisation Server. In return, the server sends an Access Token to the Client.
The token can then be used on the Resource Server to access the protected resourse.