In this section, we're going to take an extensive look at the authorization APIs provided by the .NET Core and Angular Visual Studio project template: a set of functionalities that rely upon the oidc-client library to allow an Angular app to interact with the URI endpoints provided by the ASP.NET Core Identity system.
The oidc-client library is an open source solution that provides OIDC and OAuth2 protocol support for client-side, browser-based JavaScript client applications, including user session support and access token management; its npm package reference is already present in the package.json file of our WorldCities app, therefore we won't have to manually add it.
For additional info about the oidc-client library, check out the following URL:
https://github.com/IdentityModel/oidc-client-js
For additional info about the oidc-client library, check out the following URL:
https://github.com/IdentityModel/oidc-client-js
As we'll be able to see, these APIs make use of some important Angular features—such as Route Guards and HTTP interceptors—...