1

I use scribe librabry for java , that's a library that simplificate oAuth procedure.

I try to write a code for authenticate me in the withings api with java with scribe but i have always the same problem : "Invalide Token". I don't know what to write in the verifier param in scribe ....

Thanks for your response.

Bye.

ojii
  • 4,729
  • 2
  • 23
  • 34
  • it has been a long time since i worked on it sorry, but i'm sure of one thing is that i used this link for implement oauth protocol on a java poject : https://github.com/fernandezpablo85/scribe-java/wiki/Getting-Started, i hope this link help you. – bchristophe Oct 20 '14 at 14:45

1 Answers1

0

I had fixed this problem with using an empty Verifier, something like this:

Token accessToken = service.getAccessToken(requestToken,new Verifier(""));
Ares Draguna
  • 1,641
  • 2
  • 16
  • 32
gmetax
  • 3,853
  • 2
  • 31
  • 45