[keycloak-dev] Angular Integration

Stian Thorgersen sthorger at redhat.com
Thu Apr 26 09:59:52 EDT 2018


Did you by any chance take a look at
https://github.com/ssilvert/keycloak-schematic. This seems to compliment
that rather than duplicate it.

On 24 April 2018 at 13:15, Giovanni Silva <giovannicandido at outlook.com>
wrote:

> Hi,
> Based on the awesome work in keycloak-js, I created integration with
> Angular 2 (4, 5), one of the most wide used javascript frameworks.
>
> The integration expands on a couple of different ways:
>
> Provide directives for condition hide display DOM elements, based on user
> roles
>
> Provide Login guards for angular routes that intercept a not logged user
> and initiate the Oauth2 flow
>
> Provide a service to be injected for queries like username and email
>
> Automatically refresh and add the token on every http request to server,
> without any intervention.
>
> It can also be used in ionic mobile applications, but I did not test this.
>
> If anyone is interested in the project, I would appreciate any feedback or
> collaboration.
>
> Code is release in MIT license
>
> What is missing:
>
> Authorization service integration (there is only role based directives)
>
> More user cases
>
> Code: https://github.com/giovannicandido/angular-spa
> Docs: https://angular-spa.netlify.com
> Demo: https://github.com/giovannicandido/angular-spa-example
>
> Thanks,
> Giovanni Silva
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list