Skip to content
Snippets Groups Projects
  1. Jul 01, 2020
    • Reiter, Christoph's avatar
      Replace the remember-login attribute with a new try-login one · f7bf48d3
      Reiter, Christoph authored
      With the new ability to log in without redirecting to keycloak and reloading the page
      we can now try to login on start every time.
      
      Instead of remembering the login state in the session storage we just ask keycloak in an iframe
      on start. To better describe this new behaviour rename the attribute from remember-login to try-login.
      f7bf48d3
    • Reiter, Christoph's avatar
      Support redirect-less login in case the user is already logged in. · 86d93a15
      Reiter, Christoph authored
      The newest keycloak library supporst a mode for doing the redirect in an iframe
      with a separate page that needs to be whitelisted in keycloak.
      
      The newer version also finally fixes the native promise bugs so we might as well
      use the one from npm instead of fetching it from the keycloak server at runtime.
      86d93a15
    • Reiter, Christoph's avatar
      Fix some typos · 83a803c4
      Reiter, Christoph authored
      83a803c4
    • Reiter, Christoph's avatar
      Refactor keycloak logic · 639a8492
      Reiter, Christoph authored
      Move the keycloak code into its own class and try to abstract away as much as possible.
      
      We now also react to all keycloak related events so logout, re-login etc are handled as well.
      639a8492
Loading