Questions tagged [scribe]

Scribe is a simple OAuth library for Java

Scribe is a library for OAuth-signing HTTP requests.

It's written in java but you can use it from other JVM languages as well (like Groovy or Scala).

It's really really simple and has low memory footprint which makes it the ideal choice for Android applications.

You can find more info about Scribe in the home page:

https://github.com/scribejava/scribejava

334 questions
2
votes
2 answers

Java library to generate Oauth1.0a signature

I'm quite new to Oauth, but need to learn how to do it in Java so that we can authenticate a REST request. Here's what I've got so far. After a bit of reading, I decided to try ScribeJava. I made a custom API that implements DefaultApi10a and points…
joshft91
  • 1,755
  • 7
  • 38
  • 53
2
votes
0 answers

How to get twitter user account email using Java scribe api's

I am creating a twitter social login feature for my Java web application, am using the Scribe library. Following the library tutorial here for verifying the user credentials, you will be able to retrieve the user credential as json object. The…
Salah
  • 8,567
  • 3
  • 26
  • 43
2
votes
1 answer

Scribe Java Twitter Posting Error

I am writing a posting engine to run on Glassfish which posts to Twitter from a database queue. I am using the Scribe Java API for doing this. I am having an issue with performing a signRequest from the OAuthService. I have a valid access token and…
Zach Ross-Clyne
  • 779
  • 3
  • 10
  • 35
2
votes
0 answers

Goo.gl link shortener with Scribe - authentication issues

I am trying to use a URL shortener, with Scribe, based on this example. However, I want to make sure I can track the visits which my short URL gets, which means it must be unique. To create unique links, I need to authenticate with Google, as per…
ThePerson
  • 3,048
  • 8
  • 43
  • 69
2
votes
1 answer

Oauth LinkedIn error using Scribe (response status code: 403)

I've been using a Grails Oauth Plugin for LinkedIn authentication for a few months now without any issues; today we are seeing this error with no change to our existing codebase. I verified that the API keys and the scope were correct on the…
2
votes
1 answer

What is the correct way to store access token from OAuth callback

Here's my working code to get access token on a Facebook User's behalf: @Override public void receiveCallback() { OAuthService service = new ServiceBuilder() .provider(FacebookApi.class) .apiKey(KEY) …
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
0 answers

Twitter Rest Api "Could not authenticate you"

I am using scribe to make a GET request for a user's timeline, however upon doing this I receive instead the error code 32, and "Could not authenticate you". Here is the Signature Base string (Percent Encoded):…
2
votes
0 answers

Grails oauth plugin not setting Authentication header when requesting Token(/oauth/token)

I keep receiving an error when using grails oauth plugin {"error":"unauthorized","error_description":"Full authentication is required to access this resource"} Found out the authentication header was not set when making the token request My…
JohnTheBeloved
  • 2,323
  • 3
  • 19
  • 24
2
votes
1 answer

OpenId Connect endpoint returns 'not found'

I am migrating OpenID 2.0 to OAuth 2.0 login (see https://developers.google.com/accounts/docs/OpenID?hl=ja). I want to map the new OpenID 2.0 identifiers to old/existing OpenID Connect identifiers, which I have in my DB. I'm at the point of handling…
2
votes
1 answer

Scribe OAuth Java Google Calendar api. NO Client libraries

I've some code for interacting with dropox. Here it is: package rest; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.Scanner; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import…
jomicobasi
  • 117
  • 1
  • 2
  • 11
2
votes
1 answer

Doubts on SAML and OAUTH

For sometime now I'm dealing with SAML and oauth. I have few questions and I would like to know if somebody clarifies my doubts - As per my understanding the validity of SAML response depends on the NotOnOrAfter attribute in SAML response as per…
Pakira
  • 1,951
  • 3
  • 25
  • 54
2
votes
1 answer

Flickr auth with scribe-java providing a callback url

I have to authorize users on Flickr, so I have registered my app on Flickr and hardcoded values for key, secret and callbackUrl. Now, I'm using scribe library, and instead to force the user to copy and submit the verifier, I want to get the…
mattd
  • 543
  • 4
  • 16
2
votes
1 answer

Scribe OAuth not working on android, error 500

I am using the below code to access a Magento api. I have used scribe to complete the Oauth process in which i am using fixed access token so I bypassed few steps of OAuth. Below program works fine when executing as java project but when I am trying…
RQube
  • 954
  • 3
  • 13
  • 28
2
votes
0 answers

How to authenticate with Twitter API 1.1 and Scribe?

I'm trying to pull a timeline from my own twitter account in to a website using Scribe. I tried the provided Twitter example, but I'm always getting the following response from twitter: {"errors":[{"message":"Could not authenticate…
drakanor
  • 107
  • 8
2
votes
1 answer

Scribe not importing correctly using gradle in android studio

following the readme file on github: I've added scribe to the dependency: dependencies { classpath 'com.android.tools.build:gradle:0.4' classpath 'org.scribe:scribe:1.3.5' } The gradle build completes without errors but still i get…
JY2k
  • 2,879
  • 1
  • 31
  • 60