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
Questions tagged [oltu]
53 questions
16
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
- 7,371
- 8
- 49
- 66
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,911
- 3
- 32
- 48
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,695
- 2
- 14
- 25
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
- 776
- 1
- 9
- 26
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
- 1,037
- 2
- 12
- 21
5
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
- 797
- 1
- 9
- 22
3
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…

PAA
- 1
- 46
- 174
- 282
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…

G. De Baets
- 51
- 6
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…

Nicholas Terry
- 1,812
- 24
- 40
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,781
- 1
- 15
- 23
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
- 315
- 1
- 4
- 17
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
- 4,337
- 13
- 69
- 98
2
votes
1 answer
Apache oltu oauth2 ask token over SSL
Is there a way to request an access token over SSL using Apache oltu?
It works great if I don't use https (port 8443) but just use http...
The code I have:
OAuthClient oAuthClient = new OAuthClient(new URLConnectionClient());
OAuthClientRequest…

Mathias G.
- 4,875
- 3
- 39
- 60