Sie sind auf Seite 1von 24

IMPLEMENTATION OF OAUTH 2.

0 PROTOCOL (LOGIN WITH INFIBEAM) AND SOCIAL LOGIN

A Project Report On OAuth 2.0 protocol Implementation and Social Login


Developed at

NSI Infinium pvt. Ltd.


Developed by

Upasi Mehta Bharat Thakrar


Internal Project Guide Siddhi J. Joshi Assistant Prof. Information & Technology DD University
Department of Information Technology
Faculty of Technology Dharmsinh Desai University Nadiad 387 001. Year : 2012-13

External Project Guide Dipesh Shah Sr. Software Developer Infibeam

PURPOSE:
For Social Login, the main purpose was to replace the old System, which used the paid Service provided by Jainrain.com. Login with Infibeam provides the End User who is willing to Login to any buildabazaar.com retailer website to Login with his/her Infibeam account details.

OBJECTIVE:
Implementing Social Login using the available libraries. Implementing Oauth 2.0 Protocol without using any available libraries.

Technologies Used
Sr. No 1 2 Type Operating System Technology used in front tier Description Ubuntu 12.04 (Linux) Struts 2

3
4 5 6

Tools for Development


Database system Data Access Technology Application Development Environment

Eclipse
MySql Hibernate FTL

About Struts Framework :

SOCIAL LOGIN

Social Login

extends extends Social Login extends End User

Login with Facebook

Login with Twitter

Login with Google/Yahoo

Social Login Client usage analytics Admin

Social Login

Facebook User Authentication

Facebook User Authorization

Yahoo User Authentication

Yahoo User Authorization

PROTOCOLS USED :

Login with Facebook : Oauth 2.0 Login with Twitter : Oauth 1.0 Login with Google : OpenID 2.0 Login with Yahoo : OpenID 2.0

IMPLEMENTATION OF OAUTH 2.0 PROTOCOL (LOGIN WITH INFIBEAM)

Oauth 2.0 Authorization Framework (Login with Infibeam)

uses

Authenticating end user

End User

Developing Authorization Server

uses

Authorizing end user

uses Issuing access token

Consumer

Developing Resource Server

uses

Providing resource access

Sequence Of Events

Infibeam Authentication Page

Infibeam Authorization Page

Json Response given to the Client

LIMITATION

If a user does not have an account at our website, he/she cannot register to infibeam.com from any website that is a retailer of buildabazaar.com.

FUTURE ENHANCEMENT

In future we can provide with Register with Infibeam Functionality.

Server can be designed to issue refresh token to client along with access-token which can be used by client to obtain a new access-token when access-token expires.

CONCLUSION

The Social Login module has been placed live. Social login module can be observed at http://www.infibeam.com/login.

The main functionalities of the other part i.e. Login with Infibeam are done and it will be live soon.

THANK YOU

Das könnte Ihnen auch gefallen