[keycloak-user] Keycloak login/logout on Android

Bruno Oliveira bruno at abstractj.org
Wed Apr 20 08:37:36 EDT 2016


Hi Emanuel, I believe that this documentation might help:
https://aerogear.org/docs/guides/security/oauth2-guide/#_overview

On 2016-04-20, Emanuel Couto wrote:
> 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
> >>
> >
> >

> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


--

abstractj
PGP: 0x84DC9914


More information about the keycloak-user mailing list