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

Summers Pittman supittma at redhat.com
Sun Apr 2 23:05:17 EDT 2017


On Sat, Apr 1, 2017 at 11:41 AM, Ashish Kumar Pandita <
ashishkumarpandita at 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 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
>>
>>
>
>
> --
> Ashish Kumar Pandita
>
> _______________________________________________
> 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/20170402/31756a00/attachment-0001.html 


More information about the Aerogear-users mailing list