I'm trying to implement a demo [1] with AeroGear OTP and I am having some problems to login. When HttpURLConnection tries to call getAuthorizationCredentials this[2] exception is thrown.
PS1: Doing the same requests[3] using curl I see no problem.
PS2: I changed the aerogear-android library on this branch[4] because the controller is expecting demo-id instead of username
[1] https://github.com/danielpassos/aerogear-otp-android-demo
[2] https://gist.github.com/543ddf1c651c6856bc0b
[3] https://gist.github.com/231fa46c6cf4ec3e9db8
[4] https://github.com/danielpassos/aerogear-android/commit/29368a94
|