Yes, I was able to do that. But the WebView still saved the Cookies for that session, so I had to also delete the Cookies from WebView in Android so that the next time it asked me for the password again. 

On Mon, Mar 27, 2017 at 2:58 PM, Summers Pittman <supittma@redhat.com> wrote:
We don't have an explicit logout method, but you should be able to delete the session using AuthzModule.deleteAccount().

On Mon, Mar 27, 2017 at 5:11 AM, Mitja Jesenicnik Kotnik <mitja.kotnik@cloud.si> wrote:
Hello,

I'm using AeroGear to connect to a Keycloak server and retrieve data. When I tried it for the first time it opened a WebView and promted me to enter my password and username. Then when it was succesful I opened MainActivity.

Now my question is how can I implement the logout functionality, since the app dosen't ask me again for my credentials (username, password) but just sends a succes and opens MainActivity.

Thank you for your help in advance.

Best regards,
Mitja

_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users



_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users