[keycloak-dev] keycloak-js in a microfrontend architecture
Jon Koops
jonkoops at gmail.com
Tue Oct 15 05:35:46 EDT 2019
Hi Tomasz,
Just FYI. Be aware that the silent SSO check is part of Keycloak 7, if you
are using NPM to manage your dependencies you will not be able to install
this version due to a bug. If you want to make use of this functionality in
combination with NPM please wait until version 8 has been released which
should be coming soon.
Regards,
Jon
On Tue, Oct 15, 2019 at 11:30 AM Tomasz Prętki <tomasz.pretki at dgt.eu> wrote:
> Hi Stian,
>
> Yes I know but I thought it’s a matter of code-level discussion as I
> hadn’t found any configuration solution.
> I’ve just found https://issues.jboss.org/browse/KEYCLOAK-10734 and will
> check it.
>
> Regards
> Tomasz
>
> From: Stian Thorgersen <sthorger at redhat.com>
> Sent: Monday, October 14, 2019 1:39 PM
> To: Tomasz Prętki <tomasz.pretki at dgt.eu>
> Cc: keycloak-dev at lists.jboss.org
> Subject: Re: [keycloak-dev] keycloak-js in a microfrontend architecture
>
> Hi,
>
> This list is purely for core developers and contributors. For help please
> use the user mailing list or forum.
>
> On Mon, 14 Oct 2019 at 13:15, Tomasz Prętki <tomasz.pretki at dgt.eu<mailto:
> tomasz.pretki at dgt.eu>> wrote:
> Hi there!
>
>
>
> I'm trying to investigate using keycloak-js adapter in a microfrontend
> architecture. More specifically the single-spa (
> https://single-spa.js.org/ ) solution. I would like to secure each
> microfrontend with it's own Keycloak client, because I want to deploy
> microfrontends separately too and have access to the Keycloak's context
> from each microfronted as well.
>
> In the single-spa environment I am facing a redirect loop, because
> keycloak-js doesn't like more than one instance. I'm trying to init one
> instance, get redirected to Keycloak's login page and after successful
> login, trying to init another instance. Now the redirect loop occurs.
>
>
>
> What is your opinion about this? How to achive this without compromising
> security? Any suggestions?
>
> Tomasz Prętki
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org<mailto:keycloak-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
More information about the keycloak-dev
mailing list