[Aerogear-users] Revoke (logout) token - Android

Mitja Jesenicnik Kotnik mitja.kotnik at cloud.si
Mon Mar 27 15:07:25 EDT 2017


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 at 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 at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>
>>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170327/e3cc54be/attachment.html 


More information about the Aerogear-users mailing list