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(a)redhat.com>
Sent: Monday, October 14, 2019 1:39 PM
To: Tomasz Prętki <tomasz.pretki(a)dgt.eu>
Cc: keycloak-dev(a)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@dgt.eu<mailto:tomasz.pretki@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@lists.jboss.org<mailto:keycloak-dev@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-dev