abhijeet
abhijeet

Reputation: 879

Implement OAuth2.0 in the web application

I have used various OAuth2.0 authentication based web application(facebook, twitter, quickbook, etc) and accessed their APIs for fetching data services. Now I am looking for developing an web based application which implements OAuth2.0 based authentication itself. User can create apps and get token and secret and other details. My programming language is Java. I could not find enough literature over the same.

I need some help in exploring the way to implement OAuth2.0 authentication or any specifications which can be implemented ?

Upvotes: 0

Views: 2549

Answers (2)

rossa
rossa

Reputation: 119

You can take a look at ApiFest OAuth20 project - https://github.com/apifest/apifest-oauth20. It's written in Java and uses Netty as a server. As a storage, it currently uses Hazelcast(by default), MongoDB or Redis. Also, you can easily add another backend storage.You can see more about the project on http://apifest.com. Good luck!

Upvotes: 1

OhadR
OhadR

Reputation: 8869

I suggest working with Spring Security. It has very good extension for oAuth 2.0.

If you want an example in Java, based on Spring, have a look here.

Then, when you want to implement all necessary flows, like 'create account', 'forgot password', etc - you can use this project, that implements all these flows!

Upvotes: 1

Related Questions