On Sat, Apr 1, 2017 at 11:41 AM, Ashish Kumar Pandita <ashishkumarpandita@gmail.com> wrote:
In iOS it does not show AuthzModule.deleteAccount() method in swift. I am using Keycloak module to login but logout I am not sure how to do I have the same issue can you please guide me? 

OAuth2Session.clearTokens seems to be your method in iOS.

However you will still have the same problems with your webview caching the cookie/login session.
 

On Mon, Mar 27, 2017 at 6:28 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




--
Ashish Kumar Pandita

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