DEV Community

loading...

Smile please

rounakcodes
Self taught. Full Stack Developer. More than 4 years of experience. Currently working on scaling a SaaS product.
・1 min read

After two hours of pain-staking effort working with legacy frameworks, I found this funny gem:

Infinite loop in all browsers except Edge

You need to initialize Keycloak before AngularJS is initialized. Otherwise
Angular and Keycloak fights about rewriting the URL and you end up with the
infinite loop. It probably only works in Edge because it's slow ;)

Source: https://lists.jboss.org/pipermail/keycloak-user/2015-November/003561.html

I have never seen a browser solve a issue like this before!
Do share your funny moments in the comments.

Discussion (0)