Registry / auth / scribejava-apis

scribejava-apis

JSON →
library8.3.3javamavenunverified

A simple OAuth library for Java that supports many OAuth providers and flows.

<dependency> <groupId>com.github.scribejava</groupId> <artifactId>scribejava-apis</artifactId> <version>8.3.3</version> </dependency>
INSTALL
IMPORT
SIG · SCRIBEJAVA-APIS
S
scribejava-apis
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.

GoogleApi20
com.github.scribejava.apis.GoogleApi20

Create an OAuth2 service for Google and get the authorization URL.

import com.github.scribejava.apis.GoogleApi20; import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth2AccessToken; import com.github.scribejava.core.oauth.OAuth20Service; OAuth20Service service = new ServiceBuilder("your-api-key") .apiSecret("your-api-secret") .callback("http://localhost:8080/callback") .build(GoogleApi20.instance()); String authUrl = service.getAuthorizationUrl(); System.out.println(authUrl);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.3.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
scribejava-apis — mvn dependency:get scribejava-apis · libregistry