osiam / connector4java

Native Java API to connect to the REST based OSIAM services
MIT License
8 stars 17 forks source link

OsiamConnector #195

Closed rakeshrangappa closed 8 years ago

rakeshrangappa commented 8 years ago

Hi, i receive the following error when i run the command

command

AccessToken at = osiamConnector.retrieveAccessToken(authcode);

Error

Exception in thread "main" org.osiam.client.exception.ConnectionInitializationException: Could not deserialize the error response for the HTTP status 'Found'. Original response: at org.osiam.client.AuthService.checkAndHandleResponse(AuthService.java:513) at org.osiam.client.AuthService.retrieveAccessToken(AuthService.java:189) at org.osiam.client.OsiamConnector.retrieveAccessToken(OsiamConnector.java:429) at osiam.CreateUser.main(CreateUser.java:122)