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
0
votes
1 answer
oAuth2 using Olut: invalid_request for Exact online
I am trying to setup REST API client for Exact online Netherlands. I am using Oltu library for OAuth authorization. Here is my code:
OAuthAuthzResponse oar = OAuthAuthzResponse.oauthCodeAuthzResponse(httpReq);
String code = oar.getCode();
…

Venky
- 474
- 1
- 6
- 17
0
votes
1 answer
Android Studio resolves a symbol but cannot locate the package during compilation
I have two modules, module1 (android library) and module2 (Java library).
module1 has module2 as implementation dependency.
module2 has dependency d3 which is org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2 as implementation…

Rajan Prasad
- 1,582
- 1
- 16
- 33
0
votes
1 answer
Why doesn't Apache Oltu Instragram integration return access_token
I am developing a Spring MVC + Apache Oltu + Instagram example. In this example I created an App on https://www.instagram.com/developer/ and I got the ClientId and Client_Secrete.
Uisng this clientId and Client Secret, calling the Instagram Rest…

PAA
- 1
- 46
- 174
- 282
0
votes
1 answer
Apache Oltu + Microsoft Integration - OAuthProblemException{error='invalid_request', description='missing required parameters, includes an invalid
I am working on the Spring MVC + Apache Oltu + Microsoft integration. In this example I was trying to create an App over
https://apps.dev.microsoft.com/ and get the ClientId and Client Secrete to access the protected resources.
ClientId :…

PAA
- 1
- 46
- 174
- 282
0
votes
1 answer
OAuth2: why do I need to validate redirect uri
In this authorization endpoint oltu implementation example Oltu provides an example about how to make an OAuth2.0 compliant authorization server.
In that example there's a validateRedirectionURI(oauthRequest). Could somebody explain what's it for?

Jordi
- 20,868
- 39
- 149
- 333
0
votes
1 answer
How to install OAuth (e.g. apache oltu) in order to use an API with Eclipse for Java
I want to use oauth to be able to use a certain API from a website. But due to my limited programming experience, I seem to be unable to install apache oltu correctly.
After two hours of searching I am now posting the question original question…

Peter
- 1
0
votes
1 answer
Does Apache Oltu support open id connect implementation?
We are working on making our web application open id connect compliant and when i look up apache oltu library, i dont see any ways to set "idtoken" in the /token endpoint. The documentation says Apache Oltu has open id connect support but i dont see…

gbhakta
- 203
- 1
- 3
- 7
0
votes
1 answer
OAuthProblemException from apache.amber.oauth2
I'm looking for OAuth2 library for Google App Engine (GAE).
By using the example from: https://github.com/ndhu/GoogleAppEngineOAuth
My env:
GAE Version: 1.9.52
org.apache.amber Version: version 0.22-incubating
I have below exception. Seem like…

songjing
- 545
- 4
- 22
0
votes
1 answer
Authorization grant flow failed when linking account with Google Home device
I'm able to redirect authorization code back to redirect url which can be seen in oauth2.0 playground tool.But i am getting null values in parameters like client_id,client_secret,grant_type and code when accessing token from authorization…

abhi
- 21
- 5
0
votes
1 answer
HTTP response code: 411 for LinkedIn with ApacheOltu
Looking at the https://developer.linkedin.com/docs/oauth2 I try here to get an access token.
What can be wrong with this piece of code ?
OAuthClient oAuthClient = new OAuthClient(new URLConnectionClient());
TokenRequestBuilder r =…

Oleg
- 1,479
- 3
- 21
- 42
0
votes
2 answers
Library for a flexible authentication in Spring MVC with Oauth2.0
EDIT:
I'm doing this for the first time and I don't know what to choose for my case.
I've got a Spring MVC project set up on my server(it's just a single page web app) and would like to add some "custom API calls" so that my users can access their…

Oleg
- 1,479
- 3
- 21
- 42
0
votes
1 answer
Apache Oltu + Twitter Integration example not working
I am developing Spring MVC + Apache Oltu + Twitter example. In this example, I created a client Id and Secrete from the link : https://apps.twitter.com/app/new by registering/creating the application there. Now with the help of ClientId and Secrete…
user5778069
0
votes
1 answer
Unable to get session.getAttribute in RequestMethod.POST
I have tow method and using Spring MVC, first is a method=RequestMethod.GET and there I set session.setAttribute("clientId", "abc").
Second method is a method=RequestMethod.POST where I do this:
HttpSession session =…

user614946
- 599
- 5
- 10
- 27
0
votes
1 answer
Apache Oltu OAuth2.0 Callback Handling
I am creating a Maven project using Apache Oltu, Java servlets, and JSPs that requires OAuth2 Authentication in order to access an API. So far I am able to be redirected to the website and authorize access, however, when the website redirects back…

jalamak
- 97
- 7
0
votes
1 answer
JAX-RS Apache Oltu server request with JSON body
I am trying to implement OAuth2 in my JAX-RS application, using Apache Oltu. I have found…

Albert Bos
- 2,012
- 1
- 15
- 26