Questions tagged [oltu]

The Apache Oltu project delivers a Java development framework mainly aimed to build OAuth-aware applications. It is compliant with an OAuth 2.0 specification

54 questions
15
votes
3 answers

Unable to retrieve post data using ,@Context HttpServletRequest when passed to OAuthTokenRequest using Oltu

I'm using Oltu for Oauth2. When using @Context HttpServletRequest request I am unable to retrieve post data When I am using @FormParam I am able to retrieve post data. On passing request to OAuthTokenRequest OAuthTokenRequest oauthRequest = new…
abishkar bhattarai
  • 6,848
  • 7
  • 41
  • 60
8
votes
0 answers

Apache Oltu tutorials/tips

I have a task to integrate the OAuth 2.0 protocol on an API by using Apache Oltu. Since I can't understand the examples on the website http://oltu.apache.org/index.html , has someone experience with this and could he give me tips/tutorials how could…
Ivaylo Toskov
  • 3,287
  • 3
  • 25
  • 40
7
votes
2 answers

Getting an OAuthProblemException: invalid_request for Google when using OLTU

I'm using the Oltu library from Apache and I'm trying to authenticate via Google using OAuth2. Here's the relevant code: OAuthAuthzResponse oar = OAuthAuthzResponse.oauthCodeAuthzResponse(request); OAuthClientRequest clientReq = OAuthClientRequest …
John S
  • 1,655
  • 2
  • 14
  • 23
6
votes
2 answers

How to access Bitbucket API from a Java Desktop App via Jersey+Oltu?

As the title states it, I want to access the bitbucket API from a native Java Desktop Application. Bitbucket requires Applications to use OAuth2, and for that I found that Oltu should do the job. However, my knowledge of OAuth is very limited and so…
grackkle
  • 746
  • 1
  • 8
  • 24
6
votes
1 answer

Apache Oltu Linkedin Integration example

I am looking forward to developed the Spring MVC + Apache Oltu + Linkedin integration example. In this example, you need to send Client ID and Client Secret to access the private resource from the Linked in Site. First Step - we need to create App…
user4798115
6
votes
1 answer

OAuth 2.0 Generating Token and Secret Token

I am implementing the OAuth 2.0 provider server using Apache Oltu framework, looking for some idea on how to generate the access token and secret tokens in java. Please advise.
willsteel
  • 771
  • 1
  • 9
  • 19
4
votes
1 answer

Spring MVC Apache Oltu and Salesforce Integration examples OAUTH_APPROVAL_ERROR_GENERIC : An unexpected error has occured during authentication

I am extending the question here: https://stackoverflow.com/questions/46530725/java-io-ioexception-server-returned-http-response-code-411-for-url-https-lo I am developing Spring MVC + Apache Oltu + Salesforce Integration example. In this example, I…
Pra_A
  • 7,134
  • 12
  • 89
  • 170
4
votes
3 answers

Apache OLTU - production ready or not?

I can't quite figure out whether Apache OLTU (http://oltu.apache.org/ - Java OAuth 2 implementation) is production ready or not. The distribution files on the Download page all currently end in *-0.22-incubating.zip. Does anyone have experience with…
rudolfv
  • 787
  • 1
  • 9
  • 22
3
votes
3 answers

Token request on Exact Online not returning access token

I have been trying to use OAuth 2.0 to connect to Exact Online. We tend to focus on Java-applications and sadly Exact doesn't have documentation/examples/support for Java. I was able to do the authentication request but for the token request I'm…
3
votes
0 answers

Stripe connect: linking standalone account in java

I'm trying to set up stripe connect (https://stripe.com/docs/connect/standalone-accounts) on my application, but I'm failing to set up the link between the platform and the standalone account. It provides a curl code to execute, and examples in…
Piña
  • 41
  • 1
3
votes
0 answers

Github api Problems Parsing JSON error

So I am getting the infamous 'Problems parsing JSON' error whenever I try to perform an API call that takes a body. I have tried both the stringified and non-stringified versions of the json: {"path":"bin/foo","message":"[SPS-CodeDeploy] Added…
nterry
  • 1,562
  • 20
  • 38
3
votes
2 answers

Apache Oltu Spring Security OAuth2 and Google Integration

The reference being purely taken from following sites:- http://syntx.io/integrating-your-java-spring-mvc-webapp-with-facebook-doing-the-oauth-dance/ http://www.oodlestechnologies.com/blogs/OAuth-2.0-implementation-in-Spring-Framework I've…
user4618583
3
votes
3 answers

Client credential grant type is not properly sent with Apache Oltu client library?

I tried to implement an OAuth client using OAuthClientRequest in Apache Oltu. And it seems to be that it is sending client credentials in the message body not in the Basic Auth headers according to the spec. I am not sure, I may have missed some…
Asela
  • 5,661
  • 1
  • 12
  • 22
2
votes
0 answers

Resource Owner Password Grant Flow - Apache Oltu

Am currently using Apache Oltu in my project for OAuth using the Authorization Grant flow. I want to migrate to Resource Owner Password Grant. Does Oltu support this? If yes, where can I see documentation/examples? If not, what library/libraries I…
Karthik
  • 305
  • 1
  • 4
  • 16
2
votes
1 answer

Apache oltu Oauth2 token validation

I need to validate a token generated by a oauth .NET application using Apache oltu code: OAuthClientRequest oAuthRequest = OAuthClientRequest …
Andrea Girardi
  • 3,947
  • 10
  • 68
  • 94
1
2 3 4