<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class="">I just realized how many redirects happens when I hit login button.</div><div class=""><br class=""></div><div class="">On KC 1.2 there was just one http post and that’s it.</div><div class=""><br class=""></div><div class="">Now on KC 1.6 I see following redirects:</div><div class=""><br class=""></div><div class="">- POST <span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; white-space: pre-wrap; widows: 1; background-color: rgb(255, 255, 255);" class="">/auth/realms/rhd/login-actions/authenticate?code=DArGN8ahUbUNezHDrGU0eBdzME3yJLzNi9C7Rh3fmv0.bf31e3e7-291e-4af8-ba60-23c562813bd1&execution=7eedb65f-1f55-4ca9-863a-8f4951a3d805</span></div><div class=""><br class=""></div><div class="">-> <span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; white-space: pre-wrap; widows: 1; background-color: rgb(255, 255, 255);" class="">/auth/realms/rhd/login-actions/authenticate?code=DArGN8ahUbUNezHDrGU0eBdzME3yJLzNi9C7Rh3fmv0.bf31e3e7-291e-4af8-ba60-23c562813bd1</span></div><div class=""><br class=""></div><div class="">-> <span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; white-space: pre-wrap; widows: 1; background-color: rgb(255, 255, 255);" class="">/auth/realms/rhd/login-actions/required-action?code=x3p6FRPUGzSOEcwdfOdH_y87tFp6kdv3eMnBdAeNURk.bf31e3e7-291e-4af8-ba60-23c562813bd1</span></div><div class=""><br class=""></div><div class="">-> <span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; white-space: pre-wrap; widows: 1; background-color: rgb(255, 255, 255);" class="">/auth/realms/rhd/account/login-redirect?code=x04AO-tQJB69EfKe6unU1UkHupW6bGkLxJ1Cov-Abf8.bf31e3e7-291e-4af8-ba60-23c562813bd1&state=0%2Ffdb40d87-d522-43a5-820a-66cdba051607</span></div><div class=""><br class=""></div><div class="">GET /auth/realms/rhd/account/</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">So I see 3 additional redirects.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div apple-content-edited="true" class="">
Libor Krzyžanek<br class=""><a href="http://jboss.org" class="">jboss.org</a> Development Team
</div>
<br class=""></div></body></html>