Skip to content

OAuth2-DropWizard is a dropwizard 1.3.2 implementation of an OAuth2 secured RESTful server

License

Notifications You must be signed in to change notification settings

edeoliveira/oauth2-dropwizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth2-DropWizard

OAuth2-DropWizard is a DropWizard implementation of an OAuth2 secured RESTful server.

It provides the /oauth20 endpoint to manage oauth authentication. Authentication token is stored in an encrypted cookie on the client. This provides automatic authentication propagation on subsequent accesses to protected resources by just using the generated client cookie.

Using this cookie, a client browser (or any web/mobile app), which is by nature insecure, can then securely handle it's user's credentials and access a stateless server like DropWizard in a secure manner (no credentials stored in the sources or handled by javascript).

Version

1.1

Runs on DropWizard 1.3.2 (latest) and Java 1.8 VM

Run

Build with maven then copy src/main/resources/config.template.yml to config.yml and change values according to your configuration. You can then run the server with the command :

java -jar oauth2-dropwizard-x.y.jar server config.yml

Tech

OAuth2-DropWizard uses a number of open source projects to work properly:

About

OAuth2-DropWizard is a dropwizard 1.3.2 implementation of an OAuth2 secured RESTful server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages