[keycloak-user] Keycloak login/logout on Android

Emanuel Couto emanuel.amaral.couto at gmail.com
Wed Apr 20 05:20:29 EDT 2016


Does that mean I should send the bearer token if I want to logout a
specific user? If that's it how do I do it?

The customer and products demos are here:
https://github.com/keycloak/keycloak/tree/master/examples/demo-template/customer-app
https://github.com/keycloak/keycloak/tree/master/examples/demo-template/product-app

In the documentation page there is a 3 part tutorial (The Basics)
explaining how to install these apps:
http://keycloak.jboss.org/docs

Everything is web based.

Thanks.

On Tue, Apr 19, 2016 at 6:31 PM Summers Pittman <supittma at redhat.com> wrote:

> On Tue, Apr 19, 2016 at 1:01 PM, Emanuel Couto <
> emanuel.amaral.couto at gmail.com> wrote:
>
>> Hello.
>>
>> I'm trying to login and logout to KeyCloak through an Android
>> application. So far I was able to login using AeroGear Authz. What happens
>> is that a web view is created every time login is required. However I don't
>> understand how logout works. In the documentation it states that you should
>> point to 'auth/realms/.../logout'. How does it figure out which client am
>> I? Through a session or maybe cookies?
>>
>
> It has been a while since I looked at the code, but IIRC AeroGear authz
> stores the bearer token that has been exchanged with the webview.
>
>
>
>> The other question is how would customer-portal and product-portal be
>> implemented in android, theoretically?
>>
> I'm not familiar with those, could you link me?
>
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160420/8d6ed9ab/attachment-0001.html 


More information about the keycloak-user mailing list