Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    6d9a66fd
    Handle keycloak init blocking forever · 6d9a66fd
    Reiter, Christoph authored
    In case the login happens through a login iframe and the iframe src either doesn't
    exist or it doesn't respond with a message then keycloak will block in init() forever.
    
    Add a timeout so that after 5 seconds we abort the init and emit a changed event.
    6d9a66fd
    History
    Handle keycloak init blocking forever
    Reiter, Christoph authored
    In case the login happens through a login iframe and the iframe src either doesn't
    exist or it doesn't respond with a message then keycloak will block in init() forever.
    
    Add a timeout so that after 5 seconds we abort the init and emit a changed event.