Welcome to the home of ScribeJava, the simple OAuth Java lib!
Why use ScribeJava?
Who said OAuth/OAuth2 was difficult? Configuring scribe is so easy your grandma can do it! check it out:
OAuthService service = new ServiceBuilder() .provider(LinkedInApi.class) .apiKey(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build();
That single line (added newlines for readability) is the only thing you need to configure scribe with LinkedIn's OAuth API for example.
Hit ScribeJava as hard and with many threads as you like.
You can user ning async http client out-of-box, just use ServiceBuilderAsync
Supports all major 1.0a and 2.0 OAuth APIs out-of-the-box
and many more! check the examples folder
Small and modular
ScribeJava's code is small (about 1k LOC) and simple to understand. No smart-ass or "clever" hacks here. You can use only 'core' or 'with apis' maven modules
Works out of the box with android(TM) applications.
Stable & bulletproof
Good test coverage to keep you safe from harm.
When something bad actually happens, ScribeJava's meaningful error messages will tell you exactly what went wrong, when and where.
Pull it from Maven Central!
You can pull ScribeJava from the central maven repository, just add these to your pom.xml file:
<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-apis</artifactId> <version>2.0</version> </dependency>
And in case you need just core classes (that's it, without any external API (FB, VK, GitHub, Google etc) specific code), you could pull just 'core' artifact.
<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-core</artifactId> <version>2.0</version> </dependency>
Getting started in less than 2 minutes
Feel free to drop us an email or create issue right here on github.com
Looking for a ScribeJava variation? check the Fork List
If you have a useful fork that should be listed there please contact us