Created
October 20, 2014 14:29
-
-
Save iperdomo/023d166629ece47a5de2 to your computer and use it in GitHub Desktop.
adb.log using JBoss Keycloak and OIDC Android sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D/Authenticator(20490): Authenticator created. | |
D/Authenticator(20490): addAccount called with accountType com.lnikkila.oidcsample.account, authTokenType com.lnikkila.oidcsample.TOKEN_TYPE_ID. | |
D/Authenticator(20490): Created new intent with authorisation URL 'https://login.akvotest.org/auth/realms/akvo/tokens/login?client_id=android&redirect_uri=app://oidcsample.lnikkila.com&response_type=code&scope=openid%20profile%20offline_access&prompt=login&display=touch'. | |
I/ActivityManager( 2189): START u0 {cmp=com.lnikkila.oidcsample/.oidc.authenticator.AuthenticatorActivity (has extras)} from pid 20490 | |
D/AuthenticatorActivity(20490): Initiated activity for getting authorisation with URL 'https://login.akvotest.org/auth/realms/akvo/tokens/login?client_id=android&redirect_uri=app://oidcsample.lnikkila.com&response_type=code&scope=openid%20profile%20offline_access&prompt=login&display=touch'. | |
I/ActivityManager( 2189): Displayed com.lnikkila.oidcsample/.oidc.authenticator.AuthenticatorActivity: +182ms | |
D/dalvikvm( 2189): GC_CONCURRENT freed 1890K, 31% free 11081K/16024K, paused 4ms+12ms, total 254ms | |
D/dalvikvm( 2189): WAIT_FOR_CONCURRENT_GC blocked 56ms | |
D/dalvikvm( 2189): WAIT_FOR_CONCURRENT_GC blocked 53ms | |
D/AuthenticatorActivity(20490): WebView loading URL 'https://login.akvotest.org/auth/realms/akvo/tokens/login?client_id=android&redirect_uri=app://oidcsample.lnikkila.com&response_type=code&scope=openid%20profile%20offline_access&prompt=login&display=touch'. | |
D/TilesManager(20490): Starting TG #0, 0x514d9c28 | |
D/TilesManager(20490): new EGLContext from framework: 5230f848 | |
D/GLWebViewState(20490): Reinit shader | |
D/GLWebViewState(20490): Reinit transferQueue | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_output_stop() | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_route_start() | |
W/SettingsValues( 2432): Cannot load auto correction threshold setting. currentAutoCorrectionSetting: 0, autoCorrectionThresholdValues: [, 0.185, 0.067, 0] | |
D/dalvikvm( 2432): GC_CONCURRENT freed 458K, 49% free 3909K/7588K, paused 8ms+46ms, total 198ms | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_output_start() | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_route_start() | |
D/Yamaha-MC1N2-Audio( 1854): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0 | |
W/IInputConnectionWrapper(20490): getTextBeforeCursor on inactive InputConnection | |
W/IInputConnectionWrapper(20490): getTextAfterCursor on inactive InputConnection | |
W/IInputConnectionWrapper(20490): getTextBeforeCursor on inactive InputConnection | |
W/IInputConnectionWrapper(20490): getTextAfterCursor on inactive InputConnection | |
W/InputEventReceiver(20490): Attempted to finish an input event but the input event receiver has already been disposed. | |
W/IInputConnectionWrapper(20490): getTextAfterCursor on inactive InputConnection | |
W/IInputConnectionWrapper(20490): getTextBeforeCursor on inactive InputConnection | |
W/IInputConnectionWrapper(20490): getTextAfterCursor on inactive InputConnection | |
W/SettingsValues( 2432): Cannot load auto correction threshold setting. currentAutoCorrectionSetting: 0, autoCorrectionThresholdValues: [, 0.185, 0.067, 0] | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_output_stop() | |
D/Yamaha-MC1N2-Audio( 1854): yamaha_mc1n2_audio_route_start() | |
D/dalvikvm( 2432): GC_CONCURRENT freed 425K, 49% free 3896K/7588K, paused 2ms+5ms, total 30ms | |
D/AuthenticatorActivity(20490): WebView loading URL 'https://login.akvotest.org/auth/realms/akvo/tokens/auth/request/login?scope=openid+profile+offline_access&response_type=code&redirect_uri=app%3A%2F%2Foidcsample.lnikkila.com&display=touch&prompt=login&client_id=android'. | |
W/SettingsValues( 2432): Cannot load auto correction threshold setting. currentAutoCorrectionSetting: 0, autoCorrectionThresholdValues: [, 0.185, 0.067, 0] | |
D/dalvikvm( 2432): GC_CONCURRENT freed 441K, 49% free 3909K/7588K, paused 4ms+5ms, total 131ms | |
D/dalvikvm( 2277): GC_CONCURRENT freed 1589K, 33% free 7885K/11620K, paused 2ms+19ms, total 76ms | |
D/AuthenticatorActivity(20490): WebView loading URL 'https://login.akvotest.org/auth/realms/akvo/tokens/auth/request/login?response_type=code&scope=openid+profile+offline_access&redirect_uri=app%3A%2F%2Foidcsample.lnikkila.com&display=touch&client_id=android&prompt=login'. | |
D/AuthenticatorActivity(20490): WebView loading URL 'https://login.akvotest.org/auth/realms/akvo/tokens/oauth/grant'. | |
D/AuthenticatorActivity(20490): WebView loading URL 'app://oidcsample.lnikkila.com?code=mZ9Bx4Lc2x6Z6pvPl839l9J7o4Y.YTk1YzE3MzgtY2I0OC00Y2ZhLWE0NzUtMWZlMjZkNzVkMTM0'. | |
D/AuthenticatorActivity(20490): Got Authorization Token 'mZ9Bx4Lc2x6Z6pvPl839l9J7o4Y.YTk1YzE3MzgtY2I0OC00Y2ZhLWE0NzUtMWZlMjZkNzVkMTM0'. | |
D/AuthenticatorActivity(20490): WebView loading URL 'app://oidcsample.lnikkila.com?code=mZ9Bx4Lc2x6Z6pvPl839l9J7o4Y.YTk1YzE3MzgtY2I0OC00Y2ZhLWE0NzUtMWZlMjZkNzVkMTM0'. | |
D/AuthenticatorActivity(20490): Got Authorization Token 'mZ9Bx4Lc2x6Z6pvPl839l9J7o4Y.YTk1YzE3MzgtY2I0OC00Y2ZhLWE0NzUtMWZlMjZkNzVkMTM0'. | |
D/AuthenticatorActivity(20490): Requesting ID token. | |
E/AuthenticatorActivity(20490): Could not get response. | |
W/System.err(20490): java.io.IOException: Invalid ID token returned. | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.OIDCUtils.requestTokens(OIDCUtils.java:123) | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.authenticator.AuthenticatorActivity$RequestIdTokenTask.doInBackground(AuthenticatorActivity.java:141) | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.authenticator.AuthenticatorActivity$RequestIdTokenTask.doInBackground(AuthenticatorActivity.java:132) | |
W/System.err(20490): at android.os.AsyncTask$2.call(AsyncTask.java:287) | |
W/System.err(20490): at java.util.concurrent.FutureTask.run(FutureTask.java:234) | |
W/System.err(20490): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) | |
W/System.err(20490): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) | |
W/System.err(20490): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) | |
W/System.err(20490): at java.lang.Thread.run(Thread.java:856) | |
D/AuthenticatorActivity(20490): Requesting ID token. | |
E/AuthenticatorActivity(20490): Could not get response. | |
W/System.err(20490): com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request | |
W/System.err(20490): { | |
W/System.err(20490): "error": "invalid_grant", | |
W/System.err(20490): "error_description": "Code not found" | |
W/System.err(20490): } | |
W/System.err(20490): at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:287) | |
W/System.err(20490): at com.google.api.client.auth.openidconnect.IdTokenResponse.execute(IdTokenResponse.java:120) | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.OIDCUtils.requestTokens(OIDCUtils.java:113) | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.authenticator.AuthenticatorActivity$RequestIdTokenTask.doInBackground(AuthenticatorActivity.java:141) | |
W/System.err(20490): at com.lnikkila.oidcsample.oidc.authenticator.AuthenticatorActivity$RequestIdTokenTask.doInBackground(AuthenticatorActivity.java:132) | |
W/System.err(20490): at android.os.AsyncTask$2.call(AsyncTask.java:287) | |
W/System.err(20490): at java.util.concurrent.FutureTask.run(FutureTask.java:234) | |
W/System.err(20490): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) | |
W/System.err(20490): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) | |
W/System.err(20490): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) | |
W/System.err(20490): at java.lang.Thread.run(Thread.java:856) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment