You can either use the schematics with
ng add or install the lib and add the needed files manually.
You can use the schematics and
ng add the library.
Step through the wizard and select the appropriate configuration options for you environment. Once the wizard is complete, a module will be created to encapsulate your OIDC configuration. Many of the configured values are placeholders and will need to be adjusted for your individual use case. Once you've confirmed your configuration, the library is ready to use.
Navigate to the level of your
package.json and type
or with yarn
After installing the library you can get started with the lib like below.
Import the module and services in your module.
Make sure the login is checked at the beginning of your app (for example in the
OidcSecurityService provides everything you need to login/logout your users.