[Aerogear-users] Android AeroGear Auth 3.1.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Aerogear-users] Android AeroGear Auth 3.1.1

Mitja Jesenicnik Kotnik
Hello,

now I've updated my version from Android AG Auth 3.1.0 to 3.1.1 and it stopped working. If I revert back it works again, but at 3.1.1 it returns this stackTrace:

07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample D/KeycloakHelper: Keycloak failure: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.runAccountAction(OAuth2AuthzService.java:278)
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.exchangeAuthorizationCodeForAccessToken(OAuth2AuthzService.java:208)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.fetchAccessToken(OAuth2AuthzService.java:93)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2FetchAccess$1.doInBackground(OAuth2FetchAccess.java:51)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:304)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.lang.Thread.run(Thread.java:761)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample D/LoginActivity: Login failed!

Best regards,
MK

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android AeroGear Auth 3.1.1

Mitja Jesenicnik Kotnik
And this is the response, even though when I debug the app the grand_type is defined.

{"error":"invalid_request","error_description":"Missing form parameter: grant_type"}

On Thu, Jul 6, 2017 at 8:44 AM, Mitja Jesenicnik Kotnik <[hidden email]> wrote:
Hello,

now I've updated my version from Android AG Auth 3.1.0 to 3.1.1 and it stopped working. If I revert back it works again, but at 3.1.1 it returns this stackTrace:

07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample D/KeycloakHelper: Keycloak failure: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.runAccountAction(OAuth2AuthzService.java:278)
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.exchangeAuthorizationCodeForAccessToken(OAuth2AuthzService.java:208)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.fetchAccessToken(OAuth2AuthzService.java:93)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2FetchAccess$1.doInBackground(OAuth2FetchAccess.java:51)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:304)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.lang.Thread.run(Thread.java:761)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample D/LoginActivity: Login failed!

Best regards,
MK


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android AeroGear Auth 3.1.1

Summers Pittman
In reply to this post by Mitja Jesenicnik Kotnik


On Thu, Jul 6, 2017 at 2:44 AM, Mitja Jesenicnik Kotnik <[hidden email]> wrote:
Hello,

now I've updated my version from Android AG Auth 3.1.0 to 3.1.1 and it stopped working. If I revert back it works again, but at 3.1.1 it returns this stackTrace:

Sounds like a regression.  We've made a JIRA https://issues.jboss.org/browse/AEROGEAR-1748 to track it, keep your eyes peeled.
 

07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample D/KeycloakHelper: Keycloak failure: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err: AuthorizationException{error=invalid_request}
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.runAccountAction(OAuth2AuthzService.java:278)
07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.exchangeAuthorizationCodeForAccessToken(OAuth2AuthzService.java:208)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2AuthzService.fetchAccessToken(OAuth2AuthzService.java:93)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at org.jboss.aerogear.android.authorization.oauth2.OAuth2FetchAccess$1.doInBackground(OAuth2FetchAccess.java:51)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:304)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample W/System.err:     at java.lang.Thread.run(Thread.java:761)
07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.android.sample D/LoginActivity: Login failed!

Best regards,
MK

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users