[keycloak-user] Login redirects in KC 1.6
Libor Krzyzanek
lkrzyzan at redhat.com
Mon Nov 16 08:13:29 EST 2015
Thanks for looking at it.
Libor Krzyžanek
jboss.org Development Team
> On Nov 13, 2015, at 2:59 PM, Bill Burke <bburke at redhat.com> wrote:
>
> 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/> <http://jboss.org <http://jboss.org/>> Development Team
>>
>>
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/keycloak-user <https://lists.jboss.org/mailman/listinfo/keycloak-user>
>>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com <http://bill.burkecentral.com/>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/keycloak-user <https://lists.jboss.org/mailman/listinfo/keycloak-user>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151116/384de81d/attachment-0001.html
More information about the keycloak-user
mailing list