Skip to content

datmt/angular-ngrx-material-starter-with-keycloak

 
 

Repository files navigation

Angular 14, NgRx, Keycloak and Angular Material Starter

This is a start project.

Keycloak configuration

Create a client in your keycloak with public access type public:

img.png

Keycloak configuration is under app.moudle.ts:

function initializeKeycloak(keycloak: KeycloakService) {
  return () =>
    keycloak.init({
      config: {
        url: 'https://sso.openexl.com/auth/',
        realm: 'license-server-dev',
        clientId: 'frontend-angular'
      },
      initOptions: {
        onLoad: 'check-sso',
        silentCheckSsoRedirectUri:
          window.location.origin + '/assets/silent-check-sso.html'
      }
    });
}

You can try login with this user jake@jake.com and password is 1.

If you are lucky, that user is still valid. If not, try setting up your own keycloak server.

Have fun building apps!

Checkout my website Datmt

About

Angular, NgRx, Angular CLI & Angular Material Starter Project with Keycloak support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.8%
  • HTML 10.3%
  • SCSS 9.2%
  • JavaScript 2.7%
  • Shell 1.0%