<div dir="ltr"><div>Hello,</div><div><br></div><div>I just played a bit with the oidc android example [0] here and made it work with keycloak see my branch [1].</div><div>I added a small gif that demonstrates the auth flow: <a href="https://github.com/thomasdarimont/android-openid-connect/blob/feature/keycloak-oidc-demo/keycloak-android-oidc-demo.gif">https://github.com/thomasdarimont/android-openid-connect/blob/feature/keycloak-oidc-demo/keycloak-android-oidc-demo.gif</a></div><div><br></div><div>Note I tested this with latest Keycloak 1.9.x branch (but should work as well with current master 2.0.x):</div><div><br></div><div>If you want to play with the example app you need to setup your keycloak like so:</div><div><br></div><div># Keycloak Setup</div><div>## create new client for the android app:</div><div><br></div><div>- clientid: android-app-1</div><div>- clientname: android-app-1</div><div>- access type: confidential</div><div>- valid redirect url: app://<a href="http://oidcsample.lnikkila.com">oidcsample.lnikkila.com</a></div><div><br></div><div>## Create a demo user</div><div>- username: demo</div><div>- password: demo</div><div><br></div><div><a href="https://github.com/thomasdarimont/android-openid-connect/tree/feature/keycloak-oidc-demo">https://github.com/thomasdarimont/android-openid-connect/tree/feature/keycloak-oidc-demo</a></div><div><br></div><div>Note that I needed to use the AuthCode flow [2] since the Hybrid-Flow wasn&#39;t supported by Keycloak.</div><div><br></div><div>Hope you find that interesting :)</div><div><br></div><div>Cheers,</div><div>Thomas</div><div><br></div><div>[0] <a href="https://github.com/learning-layers/android-openid-connect">https://github.com/learning-layers/android-openid-connect</a></div><div>[1] <a href="https://github.com/thomasdarimont/android-openid-connect/tree/feature/keycloak-oidc-demo">https://github.com/thomasdarimont/android-openid-connect/tree/feature/keycloak-oidc-demo</a></div><div>[2] <a href="https://github.com/thomasdarimont/android-openid-connect/blob/feature/keycloak-oidc-demo/app/src/main/java/com/lnikkila/oidcsample/Config.java#L44">https://github.com/thomasdarimont/android-openid-connect/blob/feature/keycloak-oidc-demo/app/src/main/java/com/lnikkila/oidcsample/Config.java#L44</a></div></div>