[keycloak-user] Login redirects in KC 1.6
Bill Burke
bburke at redhat.com
Fri Nov 13 08:59:10 EST 2015
Not sure if I can optimize it, I can try. This change was instituted to
fix the browser refresh button issues. I'll forward you the email.
On 11/13/2015 5:47 AM, Libor Krzyzanek wrote:
> Hi,
> I just realized how many redirects happens when I hit login button.
>
> On KC 1.2 there was just one http post and that’s it.
>
> Now on KC 1.6 I see following redirects:
>
> - POST
> /auth/realms/rhd/login-actions/authenticate?code=DArGN8ahUbUNezHDrGU0eBdzME3yJLzNi9C7Rh3fmv0.bf31e3e7-291e-4af8-ba60-23c562813bd1&execution=7eedb65f-1f55-4ca9-863a-8f4951a3d805
>
> ->
> /auth/realms/rhd/login-actions/authenticate?code=DArGN8ahUbUNezHDrGU0eBdzME3yJLzNi9C7Rh3fmv0.bf31e3e7-291e-4af8-ba60-23c562813bd1
>
> ->
> /auth/realms/rhd/login-actions/required-action?code=x3p6FRPUGzSOEcwdfOdH_y87tFp6kdv3eMnBdAeNURk.bf31e3e7-291e-4af8-ba60-23c562813bd1
>
> ->
> /auth/realms/rhd/account/login-redirect?code=x04AO-tQJB69EfKe6unU1UkHupW6bGkLxJ1Cov-Abf8.bf31e3e7-291e-4af8-ba60-23c562813bd1&state=0%2Ffdb40d87-d522-43a5-820a-66cdba051607
>
> GET /auth/realms/rhd/account/
>
>
> So I see 3 additional redirects.
>
> Is it expected? Can it be somehow minimized to give better performance?
> Every redirect can generate in reality aprox 300 ms which is almost 1
> second just because of redirects.
>
> Thanks,
>
> Libor Krzyžanek
> jboss.org <http://jboss.org> Development Team
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-user
mailing list