Habilelabs-Logo
Blog

Complete Introduction of OAuth 2.0

August 2nd, 2016 . 6 minutes read
Blog featured image

OAuth 2 , Now what’s this ,some of you are aware with this some not but you all are using this in your daily life.

We will discuss in this post about what is OAuth 2.0 and a complete introduction to OAuth 2.0. Why we use it, what this offer, stages of process and benefits of OAuth 2.0.

OAuth2

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Row”][et_pb_column type=”1_4″][/et_pb_column][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/fb.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/google.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_4″][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”justified” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

OAuth 2.0 Introduction

You got something to click on your mind with these pictures above , So when you got to log in on some sit and they require your signup , and you just chose to click on this button rather than filling up the whole form and you just log in with that website showing your name photo and all ……this is OAuth 2.

This means the website is getting your data from your Facebook, Twitter account and using on their site.This all done with the help of Oauth2 protocol.

In technical terms, we can say that OAuth is an Authorization protocol or authorization framework which just allow internet users to get in the 3rd/third party website using their Facebook, Twitter, Linkedin etc account without giving their account username and password, and even without signup to that side.

[/et_pb_text][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”justified” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

What we Offer with OAuth

At Habilelabs, we offer almost all application integration not only Social one but Payment portal integration also from Facebook, twitter to Paypal and Stripe.
Below some Application of which integration has already done by us on many projects.

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Row”][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/ff-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/tt-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/gg-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_4″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/iin-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Row”][et_pb_column type=”1_3″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/payu-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_3″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/stripe-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”1_3″][et_pb_image admin_label=”Image” src=”http://blog.habilelabs.io/wp-content/uploads/2016/08/paypal-1.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][/et_pb_row][et_pb_row admin_label=”Row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”justified” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

OAuth just provides an authorization flow between you, your account and 3rd party and all will be with your grant. OAuth defines the flow for web, mobile and desktop devices in general. Oauth made a request from your application server to generate a token and provide token access grant to the third party to access the data of the user when you allow them. Oauth provide 3 access mode/scope for the application that how they use your data –

1.Read mode
2.Write mode
3.Read and write mode

Stages in this process

User

Resource Server/Authorization server

Client

[/et_pb_text][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”justified” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

1. User/Owner:-

you are the user /owner of the account and you allow the application to access your account data.

2. Resource Server/Authorization server:-

The server of that application from where you already had your account and they hold your data. Also, act as Authorization server to grant Access token to 3rd party application.

3.Client:-

The client is the 3rd party application who wants to access your account detail in their application, but before doing this they should authorize by the user and the API.

Let’s have a look on this Diagram:-

[/et_pb_text][et_pb_image admin_label=”Image” src=”http://www.habilelabs.com/wp-content/uploads/2016/08/oauth.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”center” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”justified” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

Benefits of OAuth 2.0

1. Pay payment from your web application.
2. Post pictures and status without login to your Accounts (facebook, twitter)etc.
3. Login to the different site from your account without signup.

If you have any doubt about applying or introduction OAuth 2.0 process, then ask in the comment section.

Hope you enjoy the post, so share with friends.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

Author: rahul
Share: