[keycloak-user] Re: propagate user credential from fat client to browser

Michael Gerber gerbermichi at me.com
Wed Sep 23 02:48:22 EDT 2015


Thank you for your quick answer. 

I would like to open a new desktop web browser from the native client without re login to the web app.

Is it possible to propagate the access token, which I previously received from keycloak from the native client to a new desktop web browser?

Am 23. September 2015 um 08:40 schrieb Stian Thorgersen <sthorger at redhat.com>:

If you are happy to do the login to the fat client from the browser this is possible. Take a look at our customer-app-cli example. In summary the way it works is:

* Native client starts a http server on localhost with any port (for example 10789)
* Native client opens the login link in the external desktop web browser
* Keycloak redirects to "http://localhost:10789"
* The native client can now read the code query param from the request sent to the http server it started
* SSO done ;)

On 23 September 2015 at 07:42, Michael Gerber <gerbermichi at me.com> wrote:
Hi all,

I have got a fat client and a web application. The fat client uses the keycloak login in a build in browser. After that I am using the access token to get data from rest services from the web application. 

Is it possible to open the web application from the fat client in a new browser and propagate the user credentials, so that the user does not have to reauthenticate?

kind regards
Michael

_______________________________________________
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/20150923/c211f1e2/attachment.html 


More information about the keycloak-user mailing list