Angular
Basic Example
npx degit https://github.com/keycloakify/oidc-spa/examples/angular oidc-spa-angular
cd oidc-spa-angular
npm install
npm run start
Advanced example
Live here: https://example-angular.oidc-spa.dev
This setup show you how you can:
Early rendering of public pages before oidc has finished initializing.
Mock implementation of the adapter.
Fetching the initialization parameter remotly.
Protecting groupes based on roles.
Validating the shape of the access token.
npx degit https://github.com/keycloakify/oidc-spa/examples/angular-kitchensink oidc-spa-angular-kitchensink
cd oidc-spa-angular-kitchensink
npm install
npm run start
Last updated
Was this helpful?