OAuth-Implementation

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.

Outh 2.0 has been used to implement the project.

   

👉 Functionalities

01. Twitter - Authorization Code grant

In this functionality user can login with the a twitter account and then user can send a tweet using the application.

02. Github - Authorization Code grant

This application will allow user to log in with github. After login successfully user can create repository from the application.

03. LinkedIn - Authorization Code grant

- 🎢 profile strength calculator - 🔭 share a wall post - 🔭 message to linkdein user

04. Google - Client Credentials grant

The Client Credentials flow is used in server-to-server authentication. Only endpoints that do not access user information can be accessed. This is typically used by clients(applications) to access resources about themselves rather than to access a user's resources. This scenario based on set of branches of company visualization via google maps. Users can view set of company branches on google map. Since the google maps, API is a kind of shared resource, Client credentials grant type has been used.

05. Spotify - Authorization Code grant

This functionality based on creating a playlist on behalf of user.

06. Reddit - Authorization Code grant

This functionality based on posting a post in Reddit.

 

👉 Deployment

  1. Clone the OAuth-Implementation repo:
    git clone https://github.com/rashmikagamage/OAuth-Implementation.git

  2. locate to backend folder and install dependencies cd backend npm install

  3. Run the nodejs server
    node server.js

  4. locate to frontend folder and install dependencies cd frontend npm install

  5. Run the reactjs web sever npm start

 

👉 Resource Owners