Registry / auth / scribejava-core

scribejava-core

JSON →
library8.3.3javamavenunverified

A simple OAuth library for Java that supports OAuth 1.0a and OAuth 2.0 flows.

<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-core</artifactId> <version>8.3.3</version> </dependency>
INSTALL
IMPORT
SIG · SCRIBEJAVA-CORE
S
scribejava-core
authjavav8.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServiceBuilder
com.github.scribejava.core.builder.ServiceBuilder

Builds an OAuth service for GitHub and prints the authorization URL.

import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.apis.GitHubApi; public class Example { public static void main(String[] args) { ServiceBuilder builder = new ServiceBuilder("your-api-key") .apiSecret("your-api-secret") .callback("http://localhost:8080/callback") .build(GitHubApi.instance()); System.out.println(builder.getAuthorizationUrl()); } }
Debug
Known issues
gotchaScribeJava 8.x uses OkHttp 4.x by default; ensure compatibility with your project's OkHttp version.
fix
Exclude OkHttp and add a compatible version if needed.
affects: >=8.0.0
Upgrade
Version history
8.3.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
scribejava-core — mvn dependency:get scribejava-core · libregistry