<div dir="ltr"><div>And this is the response, even though when I debug the app the grand_type is defined.</div><div><br></div>{&quot;error&quot;:&quot;invalid_request&quot;,&quot;error_description&quot;:&quot;Missing form parameter: grant_type&quot;}<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 8:44 AM, Mitja Jesenicnik Kotnik <span dir="ltr">&lt;<a href="mailto:mitja.kotnik@cloud.si" target="_blank">mitja.kotnik@cloud.si</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>now I&#39;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:</div><div><br></div><div><div>07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.<wbr>android.sample D/KeycloakHelper: Keycloak failure: AuthorizationException{error=<wbr>invalid_request}</div><div>07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err: AuthorizationException{error=<wbr>invalid_request}</div><div>07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at org.jboss.aerogear.android.<wbr>authorization.oauth2.<wbr>OAuth2AuthzService.<wbr>runAccountAction(<wbr>OAuth2AuthzService.java:278)</div><div>07-06 06:40:33.690 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at org.jboss.aerogear.android.<wbr>authorization.oauth2.<wbr>OAuth2AuthzService.<wbr>exchangeAuthorizationCodeForAc<wbr>cessToken(OAuth2AuthzService.<wbr>java:208)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at org.jboss.aerogear.android.<wbr>authorization.oauth2.<wbr>OAuth2AuthzService.<wbr>fetchAccessToken(<wbr>OAuth2AuthzService.java:93)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at org.jboss.aerogear.android.<wbr>authorization.oauth2.<wbr>OAuth2FetchAccess$1.<wbr>doInBackground(<wbr>OAuth2FetchAccess.java:51)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at android.os.AsyncTask$2.call(<wbr>AsyncTask.java:304)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:237)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1133)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:607)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample W/System.err:     at java.lang.Thread.run(Thread.<wbr>java:761)</div><div>07-06 06:40:33.691 5751-5751/com.kumuluz.ccm.<wbr>android.sample D/LoginActivity: Login failed!</div></div><div><br></div><div>Best regards,</div><div>MK</div></div>
</blockquote></div><br></div>