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

53 questions
1
vote
1 answer

Oauth2 Authentication handle code programmatically

I implemented the OAuth2 authentication using Apache OLTU libraries. It works but I handle manually the request token from RedirectURL. step: request =…
1
vote
2 answers

Error using DocuSign AuthenticationApi.login() for Legacy Authentication - Missing grant_type/code

I'm trying to use the Authentication::login() API call in the DocuSign Java SDK and am receiving an error. Here's some code: @Component public class TestClass { private ApiClient apiClient; public void authenticate() { …
risingTide
  • 1,754
  • 7
  • 31
  • 60
1
vote
2 answers

Stack exchange oauth response unreadable

Hello I am trying to set up an authorization oauth client based on Java and apache Oltu library for stack exchange api. The response i received looks like this when printed in console …
Arka Mallick
  • 1,206
  • 3
  • 15
  • 28
1
vote
3 answers

Apache Oltu unsupported_response_type

This is the problem when I try to receive an access token from github. OAuthProblemException{error='unsupported_response_type', description='Invalid response! Response body is not application/json encoded', uri='null', state='null', scope='null',…
Oleg
  • 1,479
  • 3
  • 21
  • 42
1
vote
1 answer

Can OLTU provide JWTs as Access Tokens

OLTU, in it's limited documentations has an example of serving access tokens based on generated UUIDs. See here under Token Endpoint It also has an example of using JWTs (Java Web Tokens) for server-to-server authorization here, but only as a bearer…
Rhubarb
  • 34,705
  • 2
  • 49
  • 38
1
vote
2 answers

OAuth2 oltu client

I'm building my oauth2-protecet webservice, and a client. For webservice I used spring security implementation, and used this as example. For client I'm trying out apache oltu library. Here's my snippet: OAuthClientRequest request =…
Ben
  • 3,989
  • 9
  • 48
  • 84
1
vote
1 answer

Apache Oltu OAuthClient.accessToken() fails with timeout

I'm trying to login users using Google OpenID. When I try to authenticate a user, I always run into a timeout when trying to retrieve the AccessToken. public class TestRun { public static void main(String args[]) throws OAuthSystemException,…
Sascha Kaupp
  • 282
  • 2
  • 14
1
vote
1 answer

oAuth 2 implementation java

Hello there I'm stuck on a oauth2 issue. I don't use spring. I have some JAX-RS web services made up using netbeans's included jersey jars. I have to secure this services using oauth 2 so that mobile client could use it without storing user…
1
vote
0 answers

Oltu compilation

I tried to compile Oltu source I cloned from https://github.com/apache/oltu.git I could not get the project packaged with mvn package -DskipTests nor mvn compile package -DskipTests because it was interrupted by an error at Apache Oltu - Demos -…
thlim
  • 2,908
  • 3
  • 34
  • 57
1
vote
2 answers

Apache Oltu Github integration example with Spring MVC

I'm developing an "Apache Oltu Spring MVC Github" integration example. In this example I will be sending "App ID" and "Secret" to get the "access_token" in order to access the protected resources like "Gist", "user" etc. So first step is to create /…
user4798111
1
vote
1 answer

oauth2.0 implemenation for providers

Can anyone help me with examples of OAuth implementation for providers. I have a sample web application and I want to provide Oauth to other clients for this application. Any help would be appreciated. I am currently using this example as a sample…
user3260022
  • 69
  • 2
  • 8
1
vote
2 answers

Resolve oltu openid connect dependency in maven

This is not a question but a simple maven dependency solution of oltu openid connect that I like to share. I found it might be helpful to other as there's not too many resource about it on the web. I was having a problem with oltu openid connect…
Mani Rai
  • 665
  • 2
  • 9
  • 22
1
vote
1 answer

Problems building Apache Oltu 0.31

I'd like to run the client demo for Apache Oltu. Following the demo's instructions (download and "mvn jetty:run") doesn't work due to missing dependencies, so I'm trying to build the whole project with "mvn install" and running into other missing…
sherb
  • 5,845
  • 5
  • 35
  • 45
0
votes
1 answer

How to get AccessToken and also close browser window in ReadyAPI

I wrote some code that gets an access token. When the code runs, a browser displays on the screen which contains the access token. But when I try to get the access token and log it, a null string is being displayed. Also, I do not know if there…
0
votes
1 answer

Guide for bearer token validation by a Java web service using Oltu?

I'm adding a simple web service to an older application that needs to authenticate via OAuth 2.0. Since the app uses older technologies (Java 6, Tomcat 6, Struts 1, no Spring Framework) and upgrading the app is not currently in the scope, budget, or…