Keycloak-angular: Initialize Keycloak before bootstrap the application

Created on 21 Jun 2019  路  3Comments  路  Source: mauriciovigolo/keycloak-angular

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search for issues before submitting
- [x] feature request

The KeycloakService can be initialized before the application loading. When the Keycloak initialization is successful the application is bootstrapped.

This had two major benefits.

  1. This is faster because the application isn't fully bootstrapped and
  2. it prevents a moment when you see the application without having the authorization.
Enhancement

Most helpful comment

Hello @pahlers, thanks for contributing! Really enjoyed this way of loading and the benefits.
Will be merged for the @next release :)

All 3 comments

Hello @pahlers, thanks for contributing! Really enjoyed this way of loading and the benefits.
Will be merged for the @next release :)

Splendid! Big thanks!

Included on [email protected]. Thank you @pahlers!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bjeaurn picture Bjeaurn  路  4Comments

michaelhunziker picture michaelhunziker  路  5Comments

Wassim24 picture Wassim24  路  4Comments

Codinger386 picture Codinger386  路  4Comments

jdmaguire picture jdmaguire  路  3Comments